Edit

Share via


Call.Decline Method

Definition

Overloads

Decline()

Declines an incoming call with a 603 response code (DeclineEverywhere).

Decline(CallDeclineOptions)

Declines an incoming call with options.

Decline()

Declines an incoming call with a 603 response code (DeclineEverywhere).

public:
 void Decline();
public void Decline ();
member this.Decline : unit -> unit
Public Sub Decline ()

Exceptions

Thrown when the call is in an invalid state to perform this operation. Only incoming calls can be declined.

Thrown when the decline operation failed to complete successfully.

Applies to

Decline(CallDeclineOptions)

Declines an incoming call with options.

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

Parameters

options
CallDeclineOptions

Optional settings used to decline a call.

Exceptions

Thrown when the given options parameter contains invalid diagnostics information. See DiagnosticsInformation.

Thrown when the call is in an invalid state to perform this operation. Only incoming calls can be declined.

Thrown when the decline operation failed to complete successfully.

Applies to