Share via


ChatMessageStore.GetUnseenCountAsync Method

Definition

Overloads

GetUnseenCountAsync()

Asynchronously gets the number of unread chat messages.

GetUnseenCountAsync(IIterable<String>)

Asynchronously gets the number of unread chat messages using the specified transports.

GetUnseenCountAsync()

Asynchronously gets the number of unread chat messages.

public:
 virtual IAsyncOperation<int> ^ GetUnseenCountAsync() = GetUnseenCountAsync;
/// [Windows.Foundation.Metadata.Overload("GetUnseenCountAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<int> GetUnseenCountAsync();
[Windows.Foundation.Metadata.Overload("GetUnseenCountAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<int> GetUnseenCountAsync();
function getUnseenCountAsync()
Public Function GetUnseenCountAsync () As IAsyncOperation(Of Integer)

Returns

The number of unread chat messages.

Attributes

Windows requirements

App capabilities
chat chatSystem smsSend

See also

Applies to

GetUnseenCountAsync(IIterable<String>)

Asynchronously gets the number of unread chat messages using the specified transports.

public:
 virtual IAsyncOperation<int> ^ GetUnseenCountAsync(IIterable<Platform::String ^> ^ transportIds) = GetUnseenCountAsync;
/// [Windows.Foundation.Metadata.Overload("GetUnseenCountForTransportsReaderAsync")]
IAsyncOperation<int> GetUnseenCountAsync(IIterable<winrt::hstring> const& transportIds);
[Windows.Foundation.Metadata.Overload("GetUnseenCountForTransportsReaderAsync")]
public IAsyncOperation<int> GetUnseenCountAsync(IEnumerable<string> transportIds);
function getUnseenCountAsync(transportIds)
Public Function GetUnseenCountAsync (transportIds As IEnumerable(Of String)) As IAsyncOperation(Of Integer)

Parameters

transportIds

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

The IDs of the chat transports to use to get the unseen messages count.

Returns

The number of unread chat messages.

Attributes

Windows requirements

App capabilities
chat chatSystem smsSend

See also

Applies to