Allows the application to tell the Service Provider to shutdown. The Service Provider will in turn notify ThirdPartyCallControl,
CallInformationLink, and all the Devices that have been created to also shut down. The Devices in turn will notify their
Phone objects. The Phone Pbjects will in turn notify their Media Objects.
Calling this method will also force the socket to the server to be closed. Therefore, once this method returns control to the application the
application should not invoke any methods which will result in a message being sent to the server. If the application does do this then
exceptions will be thrown back to the application.
Note: The API provides a callback (OnObjectDeactivatedEvent) for all publicly exposed objects. This will allow the application the ability to easily
be notified when an object has bee shutdown (deactivated).
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void ShutDown( ServiceProvider..::..ServiceProviderObjectDeactivatedEventArgs..::..ServiceProviderObjectDeactivatedReason reason, string moreInfo )
Public Sub ShutDown ( _ reason As ServiceProvider..::..ServiceProviderObjectDeactivatedEventArgs..::..ServiceProviderObjectDeactivatedReason, _ moreInfo As String _ )
public: virtual void ShutDown( ServiceProvider..::..ServiceProviderObjectDeactivatedEventArgs..::..ServiceProviderObjectDeactivatedReason reason, String^ moreInfo ) sealed
Parameters
- reason (ServiceProvider..::..ServiceProviderObjectDeactivatedEventArgs..::..ServiceProviderObjectDeactivatedReason)
- Allows the application to specify a reason why this is being called. This information will also be sent to the objects as they are shutdown.
- moreInfo (String)
- Allows the application to send more information via a string. This information will also be sent to the objects as they are shutdown.
Assembly: ServiceProvider (Module: ServiceProvider)