SignalingSession.EndEstablish(IAsyncResult) Method

Definition

Waits for the pending establish operation to complete.

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

Parameters

result
IAsyncResult

The reference to the pending asynchronous operation.

Returns

SipMessageData

Returns SIP message (200 response or ACK request)

Exceptions

Thrown when this method is invoked multiple times using the same result.

Thrown when the result parameter is null.

Thrown when the result parameter is invalid.

Thrown when this operation timed out.

Thrown when any of the sub operations of this operation failed due to SIP related errors like connection failure, Authentication failure.

Applies to