ReferReceivedEventArgs.Accept Method
Accepts the Refer operation. This will result in sending the 202 response.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function Accept ( _
signalingHeaders As IEnumerable(Of SignalingHeader) _
) As ReferNotifier
'Usage
Dim instance As ReferReceivedEventArgs
Dim signalingHeaders As IEnumerable(Of SignalingHeader)
Dim returnValue As ReferNotifier
returnValue = instance.Accept(signalingHeaders)
public ReferNotifier Accept(
IEnumerable<SignalingHeader> signalingHeaders
)
Parameters
- signalingHeaders
Type: System.Collections.Generic.IEnumerable<SignalingHeader>
The signaling headers to add. Can be null.
Return Value
Type: Microsoft.Rtc.Signaling.ReferNotifier
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | There is no transaction to accept. |
RealTimeException | The operation failed. |