Stop offering the service.
If the service is already stopped, the call will directly return.

Note: This call will be blocked until all current method request callbacks are completed or canceled. Therefore, it must not be invoked within the method implementation or inside field Get
/Set
handlers
Syntax
void examplenamespace::ExampleServiceInterfaceSkeleton::StopOfferService()
Returns
void
Precondition
- The
InstanceIdentifier
must be valid.
Thread-safety, Reentrance, Result Delivery
- Threadsafe : FALSE for same class instance, TRUE for different instances
- Reentrant : FALSE for same class instance, TRUE for different instances
- Synchronous : TRUE
Example
namespace exampleapplication{
void PPortExampleServiceProvider::StopService() noexcept {
StopOfferService();
}
} // namespace exampleapplication