PhoneCallOriginManager.IsSupported 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果支持 PhoneCallOriginManager API,则返回 true;如果不支持,则返回 false。 有关异常,请参阅备注。
public:
static property bool IsSupported { bool get(); };
static bool IsSupported();
/// [get: Windows.Foundation.Metadata.Deprecated("PhoneCallOriginManager is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")]
static bool IsSupported();
public static bool IsSupported { get; }
public static bool IsSupported { [Windows.Foundation.Metadata.Deprecated("PhoneCallOriginManager is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")] get; }
var boolean = PhoneCallOriginManager.isSupported;
Public Shared ReadOnly Property IsSupported As Boolean
属性值
Boolean
bool
表示是否支持 PhoneCallOriginManager API 的布尔值。
- 属性
Windows 要求
设备系列 |
Windows 10, version 1903 (在 10.0.18362.0 中引入)
|
API contract |
Windows.ApplicationModel.Calls.CallsPhoneContract (在 v5.0 中引入)
|
注解
异常:SetCallOrigin API 受此 API 支持且不受此 API 影响