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 
Sub 
EndAccept ( _
	
result 
As 
IAsyncResult _
)
C#
public 
void 
EndAccept(
	
IAsyncResult 
result
)
Visual C++
public:
void 
EndAccept(
	
IAsyncResult^ 
result
)
JavaScript
function 
endAccept(
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 . . :: . OperationTimeoutException Thrown when this operation timed out.
Microsoft.Rtc.Signaling . . :: . OperationFailureException Thrown when this operation failed with a known reason.
Microsoft.Rtc.Signaling . . :: . RealTimeException Thrown when this operation failed for other reasons.

See Also