SipServiceRequest.EndService(IAsyncResult) Method

Definition

Ends the service request and returns the response.

public:
 Microsoft::Rtc::Signaling::SipResponseData ^ EndService(IAsyncResult ^ result);
public Microsoft.Rtc.Signaling.SipResponseData EndService (IAsyncResult result);
member this.EndService : IAsyncResult -> Microsoft.Rtc.Signaling.SipResponseData
Public Function EndService (result As IAsyncResult) As SipResponseData

Parameters

result
IAsyncResult

The reference to the pending asynchronous operation.

Returns

Returns the response data.

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 remote side returns a failure response for this operation.

Thrown when the this operation timed out.

Thrown when any of the sub operations of this operation failed due to invalid object state.

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

Applies to