Edit

Share via


AudioVideoCall.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

public:
 Microsoft::Rtc::Collaboration::CallMessageData ^ EndTransfer(IAsyncResult ^ result);
public Microsoft.Rtc.Collaboration.CallMessageData EndTransfer (IAsyncResult result);
override this.EndTransfer : IAsyncResult -> Microsoft.Rtc.Collaboration.CallMessageData
Public Function EndTransfer (result As IAsyncResult) As CallMessageData

Parameters

result
IAsyncResult

The reference to the pending asynchronous operation.

Returns

Returns the parsed successsful SIP response from the transfer operation.

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 any of the sub operations of this operation failed due to SIP related errors like connection failure, Authentication failure.

Applies to