SmsDeviceMessageStore.GetMessageAsync(UInt32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索具有指定 ID 的消息。 设备可能正忙,因此该方法以异步方式执行。 异步操作对象立即返回。
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
要检索的消息的 ID。
返回
返回用于启动和跟踪异步操作的新消息操作对象。
- 属性
Windows 要求
应用功能 |
cellularMessaging
sms
|