SignalingSession.Participate Method
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
'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 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. |
RealTimeException | Thrown when an exception is thrown by the application while generating offer/answer that is not handled by the platform. |
Remarks
This method is now deprecated in favor of the BeginEstablish and BeginAccept APIs.