Dela via


PhoneIncomingCallDismissedReason Enum

Definition

Indicates the reason for IncomingCallDismissed trigger.

Note

This enum is deprecated.

public enum class PhoneIncomingCallDismissedReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Calls.Background.CallsBackgroundContract, 131072)]
enum class PhoneIncomingCallDismissedReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Calls.Background.CallsBackgroundContract, 131072)]
/// [Windows.Foundation.Metadata.Deprecated("PhoneIncomingCallDismissedReason is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.ApplicationModel.Calls.Background.CallsBackgroundContract")]
enum class PhoneIncomingCallDismissedReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Calls.Background.CallsBackgroundContract), 131072)]
public enum PhoneIncomingCallDismissedReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Calls.Background.CallsBackgroundContract), 131072)]
[Windows.Foundation.Metadata.Deprecated("PhoneIncomingCallDismissedReason is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.ApplicationModel.Calls.Background.CallsBackgroundContract")]
public enum PhoneIncomingCallDismissedReason
var value = Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedReason.unknown
Public Enum PhoneIncomingCallDismissedReason
Inheritance
PhoneIncomingCallDismissedReason
Attributes

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.ApplicationModel.Calls.Background.CallsBackgroundContract (introduced in v2.0)

Fields

Name Value Description
Unknown 0

Incoming call is being dismissed unexpectedly. Reason is unknown.

CallRejected 1

Incoming call is being dismissed due to rejection by the user.

TextReply 2

Incoming call is being dismissed due to text reply response by the user.

ConnectionLost 3

Incoming call is being dismissed due to a lost connection.

Applies to