ChatConversationReader ChatConversationReader ChatConversationReader ChatConversationReader Class

Definition

Provides functionality for reading batches of conversations from the ChatMessageStore.

public : sealed class ChatConversationReader : IChatConversationReaderpublic sealed class ChatConversationReader : IChatConversationReaderPublic NotInheritable Class ChatConversationReader Implements IChatConversationReader// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
blockedChatMessages

Methods

ReadBatchAsync() ReadBatchAsync() ReadBatchAsync() ReadBatchAsync()

Asynchronously reads batches of conversations from the ChatMessageStore.

public : IAsyncOperation<IVectorView<ChatConversation>> ReadBatchAsync()public IAsyncOperation<IReadOnlyList<ChatConversation>> ReadBatchAsync()Public Function ReadBatchAsync() As IAsyncOperation( Of IReadOnlyListChatConversation )// You can use this method in JavaScript.
Returns
IAsyncOperation<IVectorView<ChatConversation>> IAsyncOperation<IReadOnlyList<ChatConversation>> IAsyncOperation<IReadOnlyList<ChatConversation>> IAsyncOperation<IReadOnlyList<ChatConversation>>

The list of conversations.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
blockedChatMessages
See Also

ReadBatchAsync(Int32) ReadBatchAsync(Int32) ReadBatchAsync(Int32) ReadBatchAsync(Int32)

Asynchronously reads batches of conversations from the ChatMessageStore.

public : IAsyncOperation<IVectorView<ChatConversation>> ReadBatchAsync(int count)public IAsyncOperation<IReadOnlyList<ChatConversation>> ReadBatchAsync(Int32 count)Public Function ReadBatchAsync(count As Int32) As IAsyncOperation( Of IReadOnlyListChatConversation )// You can use this method in JavaScript.
Parameters
count
int Int32 Int32 Int32

Specifies the size of the batch to read.

Returns
IAsyncOperation<IVectorView<ChatConversation>> IAsyncOperation<IReadOnlyList<ChatConversation>> IAsyncOperation<IReadOnlyList<ChatConversation>> IAsyncOperation<IReadOnlyList<ChatConversation>>

The list of conversations.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
blockedChatMessages
See Also