Share via


Participate Method

Performs a synchronous [Participate] operation.

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

Syntax

'Declaration
Public Function Participate As SipMessageData
'Usage
Dim instance As SignalingSession
Dim returnValue As SipMessageData

returnValue = instance.Participate()
public SipMessageData Participate()

Return Value

Type: Microsoft.Rtc.Signaling..::..SipMessageData
Returns SIP message data.

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

Thrown when some other failure occurs.

ArgumentException

Thrown when invalid arguments are passed.

InvalidOperationException

Thrown when the session is not in a valid state to accept or when Accept is called again while another Accept is pending.

Remarks

This method is not recommended for UI threads or scalable server applications.

See Also

Reference

SignalingSession Class

SignalingSession Members

Participate Overload

Microsoft.Rtc.Signaling Namespace