LocalEndpoint.EndEstablish(IAsyncResult) Method

Definition

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

public:
 Microsoft::Rtc::Signaling::SipResponseData ^ EndEstablish(IAsyncResult ^ result);
public Microsoft.Rtc.Signaling.SipResponseData EndEstablish (IAsyncResult result);
member this.EndEstablish : IAsyncResult -> Microsoft.Rtc.Signaling.SipResponseData
Public Function EndEstablish (result As IAsyncResult) As SipResponseData

Parameters

result
IAsyncResult

The reference to the pending asynchronous operation.

Returns

The SIP response from the operation.

Exceptions

Thrown when the result parameter is null.

Thrown when the result parameter is invalid.

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

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

Thrown when a general authentication-related problem occurred.

Thrown when server did not respond to Register request.

Thrown when this operation failed for other reasons.

Remarks

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

Applies to