RealTimeEndpoint.EndSendMessage(IAsyncResult) Method

Definition

Waits for the pending SendMessage operation to complete.

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

Parameters

result
IAsyncResult

The reference to the pending asynchronous operation.

Returns

The response data.

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 the server or remote participant returns an error. The response code in the exception should give more information about the error.

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