Share via


LocalEndpoint.EndEstablish Method

Determines whether the corresponding operation completed successfully. This method will wait if the operation has not yet completed.

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

Syntax

'Declaration
Public Function EndEstablish ( _
    result As IAsyncResult _
) As SipResponseData
'Usage
Dim instance As LocalEndpoint
Dim result As IAsyncResult
Dim returnValue As SipResponseData

returnValue = instance.EndEstablish(result)
public SipResponseData EndEstablish(
    IAsyncResult result
)

Parameters

Return Value

Type: Microsoft.Rtc.Signaling.SipResponseData
The SIP response from the operation.

Exceptions

Exception Condition
ArgumentNullException

Thrown when the result parameter is null.

ArgumentException

Thrown when the result parameter is invalid.

OperationFailureException

Thrown when endpoint is in invalid state be established or if retrieval of in-band provisioning data fails.

RegisterException

Thrown when the Register operation failed with the message text indicating the reason.

AuthenticationException

Thrown when a general authentication-related problem occurred.

OperationTimeoutException

Thrown when server did not respond to Register request.

RealTimeException

Thrown when this operation failed for other reasons.

Remarks

If the operation does not throw, the local endpoint is successfully established.

See Also

Reference

LocalEndpoint Class

LocalEndpoint Members

Microsoft.Rtc.Collaboration Namespace