Partilhar via


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

Return Value

Type: Microsoft.Rtc.Signaling.ReferNotifier

Exceptions

Exception Condition
InvalidOperationException

There is no transaction to accept.

RealTimeException

The operation failed.

See Also

Reference

ReferReceivedEventArgs Class

ReferReceivedEventArgs Members

Microsoft.Rtc.Signaling Namespace