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