Share via


EndParticipate Method

Waits for the pending [Participate] operation to complete.

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

Syntax

'Declaration
Public Function EndParticipate ( _
    result As IAsyncResult _
) As SipMessageData
'Usage
Dim instance As SignalingSession
Dim result As IAsyncResult
Dim returnValue As SipMessageData

returnValue = instance.EndParticipate(result)
public SipMessageData EndParticipate(
    IAsyncResult result
)

Parameters

Return Value

Type: Microsoft.Rtc.Signaling..::..SipMessageData
A SipMessageData object containing a message (200 response or ACK request).

Exceptions

Exception Condition
ArgumentNullException

Thrown when a non-nullNothingnullptrunita null reference (Nothing in Visual Basic) is expected for an argument. The argument name for which a non-nullNothingnullptrunita null reference (Nothing in Visual Basic) is expected is part of the exception message.

RealTimeException

Encompasses an SIP error or failure cases encountered while trying to enter the session - SIP Transport error, SIP Authentication, and credential-related errors.

ArgumentException

Thrown when invalid arguments are passed.

InvalidOperationException

Thrown when [EndParticipate] is called multiple times using the same [asyncResult].

See Also

Reference

SignalingSession Class

SignalingSession Members

Microsoft.Rtc.Signaling Namespace