SignalingSession.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

SipResponseData

Returns the response data.

Exceptions

Thrown when EndSendMessage is called multiple times using the same asyncResult.

Thrown when invalid arguments are passed.

Thrown when null is supplied for a required argument. The argument name which is required is is part of the exception message.

Thrown when the server or remote participant returns an error. The SipResponseData in the exception should give additional information.

Thrown when some other unknown errors occur.

A server policy setting does not allow the sending of the message.

Applies to