EndSendMessage Method
Waits for the pending SendMessage operation to complete.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Protected Function EndSendMessage ( _
result As IAsyncResult _
) As SipResponseData
'Usage
Dim result As IAsyncResult
Dim returnValue As SipResponseData
returnValue = Me.EndSendMessage(result)
protected SipResponseData EndSendMessage(
IAsyncResult result
)
Parameters
- result
Type: System..::..IAsyncResult
Return Value
Type: Microsoft.Rtc.Signaling..::..SipResponseData
Remarks
Exceptions
[cref][T:System.InvalidOperationException]: Thrown when endSendMessage is called multiple times using the same asyncResult.
[cref][T:System.ArgumentException]: Thrown when invalid arguments are passed.
[cref][T:System.ArgumentNullException]: Thrown when a non-null is expected for an argument. The argument name for which a non-null is expected is part of the exception message.
[cref][T:Microsoft.Rtc.Signaling.RealTimeException]: Thrown when the server or remote participant returns an error. The response code in the exception should give more information about the error.
[cref][T:Microsoft.Rtc.Signaling.RealTimeException]: Encompasses SIP error or failure cases encountered during sending the message - SIP Transport error, SIP Authentication and credential related errors.