Initializes the platform object.

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Function 
BeginStartup ( _
	
userCallback 
As 
AsyncCallback, _
	
state 
As 
Object _
) 
As 
IAsyncResult
C#
public 
IAsyncResult 
BeginStartup(
	
AsyncCallback 
userCallback,
	
Object 
state
)
Visual C++
public:
IAsyncResult^ 
BeginStartup(
	
AsyncCallback^ 
userCallback, 
	
Object^ 
state
)
JavaScript
function 
beginStartup(
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

Once the platform is started up it can be used to create endpoints.

Exceptions

Exception Condition
InvalidOperationException Thrown when the platform has already been started or has been terminated.

See Also