Waits for the pending participate operation to complete.

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

Syntax

Visual Basic (Declaration)
Public 
Function 
EndParticipate ( _
	
result 
As 
IAsyncResult _
) 
As 

SipMessageData
C#
public 

SipMessageData 
EndParticipate(
	
IAsyncResult 
result
)
Visual C++
public:

SipMessageData^ 
EndParticipate(
	
IAsyncResult^ 
result
)
JavaScript
function 
endParticipate(
result);

Parameters

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

Return Value

Returns SIP message (200 response or ACK request)

Exceptions

Exception Condition
InvalidOperationException Thrown when EndParticipate is called multiple times using the same asyncResult.
ArgumentException Thrown when invalid arguments are passed.
ArgumentNullException Thrown when a non-null is expected for an argument. The argument name for which a non-null is expected is part of the exception message.
Microsoft.Rtc.Signaling . . :: . RealTimeException Encompasses an SIP error or failure cases encountered while trying to enter the session - SIP Transport error, SIP Authentication, and credential-related erros.

See Also