Edit

Share via


MediaProvider.EndSendMessage(IAsyncResult) Method

Definition

Completes the asynchronous operation started by the BeginSendMessage.

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

Parameters

result
IAsyncResult

The reference to the pending asynchronous operation.

Returns

The response to the message send request.

Exceptions

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

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 any of the sub operations of this operation failed due to SIP related errors like connection failure, Authentication failure.

Applies to