Dela via


ChatMessageManager.RequestStoreAsync Method

Definition

Returns the SMS messaging store for the phone.

public:
 static IAsyncOperation<ChatMessageStore ^> ^ RequestStoreAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ChatMessageStore> RequestStoreAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ChatMessageStore> RequestStoreAsync();
function requestStoreAsync()
Public Shared Function RequestStoreAsync () As IAsyncOperation(Of ChatMessageStore)

Returns

An asynchronous operation that returns a ChatMessageStore on successful completion.

Attributes

Windows requirements

App capabilities
chat chatSystem smsSend

Remarks

The method is invoked as an IAsyncOperation as shown in the following example:

ChatMessageStore store = await ChatMessageManager.RequestStoreAsync();

Applies to