Share via


SmsDeviceMessageStore.GetMessageAsync(UInt32) Methode

Definition

Ruft die Nachricht mit der angegebenen ID ab. Das Gerät ist möglicherweise ausgelastet, sodass die Methode asynchron ausgeführt wird. Das asynchrone Vorgangsobjekt wird sofort zurückgegeben.

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)

Parameter

messageId
UInt32

unsigned int

uint32_t

ID der abzurufenden Nachricht.

Gibt zurück

Gibt ein neues Nachrichtenvorgangsobjekt zurück, das zum Starten und Nachverfolgen des asynchronen Vorgangs verwendet wird.

Attribute

Windows-Anforderungen

App-Funktionen
cellularMessaging sms

Gilt für: