SendSmsMessageOperation 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public ref class SendSmsMessageOperation sealed : IAsyncAction
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Sms.LegacySmsApiContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("SendSmsMessageOperation may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
class SendSmsMessageOperation final : IAsyncAction
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Sms.LegacySmsApiContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("SendSmsMessageOperation may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
class SendSmsMessageOperation final : IAsyncAction
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Sms.LegacySmsApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("SendSmsMessageOperation may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))]
public sealed class SendSmsMessageOperation : IAsyncAction
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Sms.LegacySmsApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("SendSmsMessageOperation may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
public sealed class SendSmsMessageOperation : IAsyncAction
Public NotInheritable Class SendSmsMessageOperation
Implements IAsyncAction
- 繼承
- 屬性
- 實作
Windows 需求
裝置系列 |
Windows Desktop Extension SDK (已於 10.0.10240.0 引進)
|
API contract |
Windows.Devices.Sms.LegacySmsApiContract (已於 v1.0 引進)
|
應用程式功能 |
cellularMessaging
sms
|
屬性
Completed |
非同步動作已完成事件的處理常式。 |
ErrorCode |
指定非同步訊息作業的錯誤碼。 |
Id |
表示非同步訊息作業的識別碼。 |
Status |
指定非同步訊息作業的狀態。 |
方法
Cancel() |
取消非同步作業。 |
Close() |
關閉非同步作業。 |
GetResults() |
擷取非同步作業的結果。 |