ChatMessageStore.GetUnseenCountAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
|