Participate Method (IEnumerable(SignalingHeader))
Performs a synchronous [Participate] operation.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function Participate ( _
signalingHeaders As IEnumerable(Of SignalingHeader) _
) As SipMessageData
'Usage
Dim instance As SignalingSession
Dim signalingHeaders As IEnumerable(Of SignalingHeader)
Dim returnValue As SipMessageData
returnValue = instance.Participate(signalingHeaders)
public SipMessageData Participate(
IEnumerable<SignalingHeader> signalingHeaders
)
Parameters
- signalingHeaders
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'SignalingHeader>)>)>
The signaling headers to add.
Return Value
Type: Microsoft.Rtc.Signaling..::..SipMessageData
A SipMessageData object containing the SIP message (200 response or ACK request)
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | 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.