SmsDeviceMessageStore.GetMessageAsync(UInt32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取具有指定識別碼的訊息。 裝置可能忙碌中,因此方法會以非同步方式執行。 非同步作業物件會立即傳回。
public:
virtual IAsyncOperation<ISmsMessage ^> ^ GetMessageAsync(unsigned int messageId) = GetMessageAsync;
/// [Windows.Foundation.Metadata.Deprecated("SmsDeviceMessageStore may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ISmsMessage> GetMessageAsync(uint32_t const& messageId);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("SmsDeviceMessageStore may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
IAsyncOperation<ISmsMessage> GetMessageAsync(uint32_t const& messageId);
[Windows.Foundation.Metadata.Deprecated("SmsDeviceMessageStore may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ISmsMessage> GetMessageAsync(uint messageId);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("SmsDeviceMessageStore may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
public IAsyncOperation<ISmsMessage> GetMessageAsync(uint messageId);
function getMessageAsync(messageId)
Public Function GetMessageAsync (messageId As UInteger) As IAsyncOperation(Of ISmsMessage)
參數
- messageId
-
UInt32
unsigned int
uint32_t
要擷取之訊息的識別碼。
傳回
傳回用來啟動和追蹤非同步作業的新訊息工作物件。
- 屬性
Windows 需求
應用程式功能 |
cellularMessaging
sms
|