Share via


SmsDeviceMessageStore.GetMessageAsync(UInt32) 메서드

정의

지정된 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

적용 대상