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)
Public 
Function 
EndAccept ( _
	
result 
As 
IAsyncResult _
) 
As 

CallMessageData
C#
public 

CallMessageData 
EndAccept(
	
IAsyncResult 
result
)
Visual C++
public:

CallMessageData^ 
EndAccept(
	
IAsyncResult^ 
result
)
JavaScript
function 
endAccept(
result);

Parameters

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

Return Value

Returns the parsed SIP response received with an Ack response.

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 . . :: . OperationTimeoutException Thrown when this 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