Edit

Share via


Call.EndTransfer(IAsyncResult) Method

Definition

This method is used to determine whether the corresponding operation completed successfully. This method will wait if the operation has not yet completed

protected:
 Microsoft::Rtc::Collaboration::CallMessageData ^ EndTransfer(IAsyncResult ^ result);
protected Microsoft.Rtc.Collaboration.CallMessageData EndTransfer (IAsyncResult result);
member this.EndTransfer : IAsyncResult -> Microsoft.Rtc.Collaboration.CallMessageData
Protected Function EndTransfer (result As IAsyncResult) As CallMessageData

Parameters

result
IAsyncResult

The reference to the pending asynchronous operation.

Returns

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 the transfer request operation.

Thrown when the transfer operation timed out.

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

Thrown when we receive a NOTIFY message containing the transfer failure information.

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

Applies to