Synchronously participates in a session. This method is not recommended for UI threads or scalable server applications.

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

Syntax

Visual Basic (Declaration)
Public 
Function 
Participate 
As 

SipMessageData
C#
public 

SipMessageData 
Participate()
Visual C++
public:

SipMessageData^ 
Participate()
JavaScript
function 
participate();

Return Value

Returns the Sip message (200 response or ACK request)

Return Value

Returns SIP message data th

Exceptions

Exception Condition
InvalidOperationException Thrown when the session is not in a valid state to Participate.
ArgumentException Thrown when invalid arguments are passed.
ArgumentNullException Thrown when a non-null value is expected for an argument.
Microsoft.Rtc.Signaling . . :: . RealTimeException Thrown when an exception is thrown by the application while generating offer/answer that is not handled by the platform.

See Also