次の方法で共有


CallTransferReceivedEventArgs.DeclineWithResponse Method

Declines the incoming transfer. This will result in sending a failure response.

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

Syntax

'Declaration
Public Sub DeclineWithResponse ( _
    declineOptions As CallDeclineOptions _
)
'Usage
Dim instance As CallTransferReceivedEventArgs
Dim declineOptions As CallDeclineOptions

instance.DeclineWithResponse(declineOptions)
public void DeclineWithResponse(
    CallDeclineOptions declineOptions
)

Parameters

Exceptions

Exception Condition
ArgumentOutOfRangeException

Thrown when the response code in declineOptions was not in the expected range.

ArgumentException

Thrown when the given declineOptions parameter contains invalid or restricted headers.

ArgumentException

Thrown when the given declineOptions parameter contains invalid diagnostics information DiagnosticsInformation.

InvalidOperationException

Thrown when there is no transaction to decline.

RealTimeException

Thrown when there was a transport error.

See Also

Reference

CallTransferReceivedEventArgs Class

CallTransferReceivedEventArgs Members

Microsoft.Rtc.Collaboration Namespace