Share via


ChatMessageStore.GetConversationAsync Method

Definition

Overloads

GetConversationAsync(String)

Asynchronously gets a ChatConversation by ID.

GetConversationAsync(String, IIterable<String>)

Asynchronously gets a ChatConversation by ID using the specified transports.

GetConversationAsync(String)

Asynchronously gets a ChatConversation by ID.

public:
 virtual IAsyncOperation<ChatConversation ^> ^ GetConversationAsync(Platform::String ^ conversationId) = GetConversationAsync;
/// [Windows.Foundation.Metadata.Overload("GetConversationAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ChatConversation> GetConversationAsync(winrt::hstring const& conversationId);
[Windows.Foundation.Metadata.Overload("GetConversationAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ChatConversation> GetConversationAsync(string conversationId);
function getConversationAsync(conversationId)
Public Function GetConversationAsync (conversationId As String) As IAsyncOperation(Of ChatConversation)

Parameters

conversationId
String

Platform::String

winrt::hstring

The ID of the conversation to retrieve.

Returns

The ChatConversation specified by the conversationId parameter.

Attributes

Windows requirements

App capabilities
chat chatSystem smsSend

See also

Applies to

GetConversationAsync(String, IIterable<String>)

Asynchronously gets a ChatConversation by ID using the specified transports.

public:
 virtual IAsyncOperation<ChatConversation ^> ^ GetConversationAsync(Platform::String ^ conversationId, IIterable<Platform::String ^> ^ transportIds) = GetConversationAsync;
/// [Windows.Foundation.Metadata.Overload("GetConversationForTransportsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ChatConversation> GetConversationAsync(winrt::hstring const& conversationId, IIterable<winrt::hstring> const& transportIds);
[Windows.Foundation.Metadata.Overload("GetConversationForTransportsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ChatConversation> GetConversationAsync(string conversationId, IEnumerable<string> transportIds);
function getConversationAsync(conversationId, transportIds)
Public Function GetConversationAsync (conversationId As String, transportIds As IEnumerable(Of String)) As IAsyncOperation(Of ChatConversation)

Parameters

conversationId
String

Platform::String

winrt::hstring

The ID of the conversation to retrieve.

transportIds

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

The IDs of the transports to use to retrieve the ChatConversation.

Returns

The ChatConversation specified by the conversationId parameter.

Attributes

Windows requirements

App capabilities
chat chatSystem smsSend

See also

Applies to