GetSmsDeviceOperation 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public ref class GetSmsDeviceOperation sealed : IAsyncOperation<SmsDevice ^>
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Sms.LegacySmsApiContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("GetSmsDeviceOperation may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
class GetSmsDeviceOperation final : IAsyncOperation<SmsDevice>
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Sms.LegacySmsApiContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("GetSmsDeviceOperation may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
class GetSmsDeviceOperation final : IAsyncOperation<SmsDevice>
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Sms.LegacySmsApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("GetSmsDeviceOperation may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))]
public sealed class GetSmsDeviceOperation : IAsyncOperation<SmsDevice>
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Sms.LegacySmsApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("GetSmsDeviceOperation may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
public sealed class GetSmsDeviceOperation : IAsyncOperation<SmsDevice>
Public NotInheritable Class GetSmsDeviceOperation
Implements IAsyncOperation(Of SmsDevice)
- 继承
- 属性
- 实现
Windows 要求
设备系列 |
Windows Desktop Extension SDK (在 10.0.10240.0 中引入)
|
API contract |
Windows.Devices.Sms.LegacySmsApiContract (在 v1.0 中引入)
|
应用功能 |
cellularMessaging
sms
|
属性
Completed |
指定异步 SmsDevice 对象检索操作是否已完成。 |
ErrorCode |
指定异步 SmsDevice 对象检索操作的错误代码 |
Id |
指定异步 SmsDevice 对象检索操作的 ID。 |
Status |
指定异步 SmsDevice 对象检索操作的状态。 |
方法
Cancel() |
取消异步 SmsDevice 对象检索。 |
Close() |
关闭异步 SmsDevice 对象检索操作。 |
GetResults() |
获取异步 SmsDevice 对象检索操作的结果。 |