BeginEstablish Method (AsyncCallback, Object)

Initializes the endpoint so that it is ready for receiving incoming messages.

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

Syntax

'Declaration
Public Function BeginEstablish ( _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As LocalEndpoint
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginEstablish(userCallback, _
    state)
public IAsyncResult BeginEstablish(
    AsyncCallback userCallback,
    Object state
)

Parameters

Return Value

Type: System..::..IAsyncResult

Remarks

Exceptions

[cref][T:System.InvalidOperationException]: Thrown if the state of the platform or endpoint is not right for this operation.

See Also

Reference

LocalEndpoint Class

LocalEndpoint Members

BeginEstablish Overload

Microsoft.Rtc.Collaboration Namespace