Shuts down the platform and all known
endpoints.
Namespace:
Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function BeginShutdown ( _ userCallback As AsyncCallback, _ state As Object _ ) As IAsyncResult |
C# |
---|
public IAsyncResult BeginShutdown( AsyncCallback userCallback, Object state ) |
Visual C++ |
---|
public: IAsyncResult^ BeginShutdown( AsyncCallback^ userCallback, Object^ state ) |
JavaScript |
---|
function beginShutdown( userCallback, state); |
Parameters
- userCallback
- Type:
AsyncCallback
The method to be called when the asynchronous operation is completed.
- state
- Type:
Object
A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.
Return Value
An IAsyncResult that references the asynchronous operation.Remarks
When it is shut down, the platform terminates all the endpoints and frees all its resources. The platform cannot be used after this completes.
This operation should never throw.