Partilhar via


RealTimeEndpoint.EndSendMessage Method

Waits for the pending SendMessage operation to complete.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Function EndSendMessage ( _
    result As IAsyncResult _
) As SipResponseData
'Usage
Dim instance As RealTimeEndpoint
Dim result As IAsyncResult
Dim returnValue As SipResponseData

returnValue = instance.EndSendMessage(result)
public SipResponseData EndSendMessage(
    IAsyncResult result
)

Parameters

Return Value

Type: Microsoft.Rtc.Signaling.SipResponseData
The response data.

Exceptions

Exception Condition
InvalidOperationException

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

ArgumentNullException

Thrown when the result parameter is null.

ArgumentException

Thrown when the result parameter is invalid.

FailureResponseException

Thrown when the server or remote participant returns an error. The response code in the exception should give more information about the error.

OperationTimeoutException

Thrown when this operation timed out.

RealTimeException

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

See Also

Reference

RealTimeEndpoint Class

RealTimeEndpoint Members

Microsoft.Rtc.Signaling Namespace