SignalingSession.EndSendReliableProvisionalResponse Method
Waits for the pending SendProvisionalResponse operation to complete.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function EndSendReliableProvisionalResponse ( _
result As IAsyncResult _
) As SipRequestData
'Usage
Dim instance As SignalingSession
Dim result As IAsyncResult
Dim returnValue As SipRequestData
returnValue = instance.EndSendReliableProvisionalResponse(result)
public SipRequestData EndSendReliableProvisionalResponse(
IAsyncResult result
)
Parameters
- result
Type: System.IAsyncResult
The reference to the pending asynchronous operation.
Return Value
Type: Microsoft.Rtc.Signaling.SipRequestData
Returns the PRACK message data, if the inviter supports reliable response. Can be null if the inviter does not support reliable response.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when SendProvisionalResponse is called multiple times using the same asyncResult. |
ArgumentException | Thrown when invalid arguments are passed. |
ArgumentNullException | Thrown when null is supplied for a required argument. The argument name which is required is is part of the exception message. |