PhoneCallBlockedReason 列舉
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供拒絕通話的原因。
public enum class PhoneCallBlockedReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Calls.CallsPhoneContract, 65536)]
enum class PhoneCallBlockedReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Calls.Background.CallsBackgroundContract, 65536)]
/// [Windows.Foundation.Metadata.PreviousContractVersion("Windows.ApplicationModel.Calls.CallsPhoneContract", 65536, 131072)]
enum class PhoneCallBlockedReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Calls.Background.CallsBackgroundContract, 65536)]
/// [Windows.Foundation.Metadata.PreviousContractVersion("Windows.ApplicationModel.Calls.CallsPhoneContract", 65536, 196608)]
enum class PhoneCallBlockedReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Calls.CallsPhoneContract), 65536)]
public enum PhoneCallBlockedReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Calls.Background.CallsBackgroundContract), 65536)]
[Windows.Foundation.Metadata.PreviousContractVersion("Windows.ApplicationModel.Calls.CallsPhoneContract", 65536, 131072)]
public enum PhoneCallBlockedReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Calls.Background.CallsBackgroundContract), 65536)]
[Windows.Foundation.Metadata.PreviousContractVersion("Windows.ApplicationModel.Calls.CallsPhoneContract", 65536, 196608)]
public enum PhoneCallBlockedReason
var value = Windows.ApplicationModel.Calls.Background.PhoneCallBlockedReason.inCallBlockingList
Public Enum PhoneCallBlockedReason
- 繼承
-
PhoneCallBlockedReason
- 屬性
Windows 需求
裝置系列 |
Windows Mobile Extension SDK (已於 10.0.10240.0 引進)
Windows Desktop Extension SDK (已於 10.0.10586.0 引進) Windows Mobile Extension SDK (已於 10.0.10586.0 引進) Windows 10, version 1809 (已於 10.0.17763.0 引進) |
API contract |
Windows.ApplicationModel.Calls.CallsPhoneContract (已於 v1.0 引進)
Windows.ApplicationModel.Calls.Background.CallsBackgroundContract (已於 v1.0 引進) |
應用程式功能 |
phoneCallHistory
phoneCallHistorySystem
|
欄位
名稱 | 值 | Description |
---|---|---|
InCallBlockingList | 0 | 呼叫遭到拒絕,因為它位於封鎖清單中。 |
PrivateNumber | 1 | 通話遭到拒絕,因為其為私人號碼,且已封鎖私人號碼。 |
UnknownNumber | 2 | 呼叫遭到拒絕,因為其為未知號碼,且已封鎖未知號碼。 |