Edit

Share via


CallTransferReceivedEventArgs.DeclineWithResponse(CallDeclineOptions) Method

Definition

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

public:
 void DeclineWithResponse(Microsoft::Rtc::Collaboration::CallDeclineOptions ^ declineOptions);
public void DeclineWithResponse (Microsoft.Rtc.Collaboration.CallDeclineOptions declineOptions);
member this.DeclineWithResponse : Microsoft.Rtc.Collaboration.CallDeclineOptions -> unit
Public Sub DeclineWithResponse (declineOptions As CallDeclineOptions)

Parameters

declineOptions
CallDeclineOptions

Options to use when declining an incoming transfer request.

Exceptions

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

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

Thrown when there is no transaction to decline.

Thrown when there was a transport error.

Applies to