次の方法で共有


CallTransferReceivedEventArgs.Accept Method

Accepts the incoming transfer.

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

Syntax

'Declaration
Public Function Accept ( _
    headers As IEnumerable(Of SignalingHeader) _
) As Call
'Usage
Dim instance As CallTransferReceivedEventArgs
Dim headers As IEnumerable(Of SignalingHeader)
Dim returnValue As Call

returnValue = instance.Accept(headers)
public Call Accept(
    IEnumerable<SignalingHeader> headers
)

Parameters

Return Value

Type: Microsoft.Rtc.Collaboration.Call
The call targeting the destination URI indicated in the transfer.

Exceptions

Exception Condition
InvalidOperationException

Thrown when the Endpoint associated with the new transfer call is terminating or terminated or when then underlying transfer transaction is no longer valid.

RealTimeException

Thrown when the call is unable to send successful response to the transferor.

Remarks

The call returned by the Accept method is contained in the new Conversation exposed on the event arguments.

See Also

Reference

CallTransferReceivedEventArgs Class

CallTransferReceivedEventArgs Members

Microsoft.Rtc.Collaboration Namespace