ChatMessageStore.GetConversationAsync 方法

定义

重载

GetConversationAsync(String)

按 ID 异步获取 ChatConversation

GetConversationAsync(String, IIterable<String>)

使用指定的传输按 ID 异步获取 ChatConversation

GetConversationAsync(String)

按 ID 异步获取 ChatConversation

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)

参数

conversationId
String

Platform::String

winrt::hstring

要检索的会话的 ID。

返回

conversationId 参数指定的 ChatConversation

属性

Windows 要求

应用功能
chat chatSystem smsSend

另请参阅

适用于

GetConversationAsync(String, IIterable<String>)

使用指定的传输按 ID 异步获取 ChatConversation

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)

参数

conversationId
String

Platform::String

winrt::hstring

要检索的会话的 ID。

transportIds

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

要用于检索 ChatConversation 的传输的 ID。

返回

conversationId 参数指定的 ChatConversation

属性

Windows 要求

应用功能
chat chatSystem smsSend

另请参阅

适用于