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

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Protected 
Function 
EndTransfer ( _
	
result 
As 
IAsyncResult _
) 
As 

CallMessageData
C#
protected 

CallMessageData 
EndTransfer(
	
IAsyncResult 
result
)
Visual C++
protected:

CallMessageData^ 
EndTransfer(
	
IAsyncResult^ 
result
)
JavaScript
function 
endTransfer(
result);

Parameters

result
Type: IAsyncResult
The reference to the pending asynchronous operation.

Exceptions

Exception Condition
InvalidOperationException Thrown when this method is invoked multiple times using the same asyncResult.
ArgumentNullException Thrown when the resultparameter is null.
ArgumentException Thrown when the resultparameter is invalid.
Microsoft.Rtc.Signaling . . :: . FailureResponseException Thrown when the remote side returns a failure response for the transfer request operation.
Microsoft.Rtc.Signaling . . :: . OperationTimeoutException Thrown when the transfer operation timed out.
Microsoft.Rtc.Signaling . . :: . OperationFailureException Thrown when any of the sub operations of this operation failed due to invalid object state.
Microsoft.Rtc.Signaling . . :: . RealTimeException Thrown when any of the sub operations of this operation failed due to SIP related errors like connection failure, Authentication failure.

See Also