CallDeclineOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Optional parameters for declining the incoming call.
public ref class CallDeclineOptions
public class CallDeclineOptions
type CallDeclineOptions = class
Public Class CallDeclineOptions
- Inheritance
-
CallDeclineOptions
Remarks
This class allows the application to decline a call with responseCode 4xx or higher. To forward the call to another desination, application should use Forward(String, CallForwardOptions).
Constructors
CallDeclineOptions() |
Creates a new instance of the CallDeclineOptions class with response code DeclineEverywhere (603). |
CallDeclineOptions(Int32) |
Creates a new instance of the CallDeclineOptions class with a specific response code. |
Properties
DiagnosticsInformation |
Gets or sets the diagnostics information to be included when declining the call. |
Headers |
Gets the list of custom signaling headers to be included in the response. |
ResponseCode |
Gets or sets the response code for declining the call. |
ResponseText |
Gets or sets the response text that will be used to decline the incoming call. |