ChatMessageStore.GetUnseenCountAsync 方法

定義

多載

GetUnseenCountAsync()

以非同步方式取得未讀取的聊天訊息數目。

GetUnseenCountAsync(IIterable<String>)

使用指定的傳輸,以非同步方式取得未讀取的聊天訊息數目。

GetUnseenCountAsync()

以非同步方式取得未讀取的聊天訊息數目。

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)

傳回

未讀取的聊天訊息數目。

屬性

Windows 需求

應用程式功能
chat chatSystem smsSend

另請參閱

適用於

GetUnseenCountAsync(IIterable<String>)

使用指定的傳輸,以非同步方式取得未讀取的聊天訊息數目。

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)

參數

transportIds

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

用來取得未看到訊息計數的聊天傳輸識別碼。

傳回

未讀取的聊天訊息數目。

屬性

Windows 需求

應用程式功能
chat chatSystem smsSend

另請參閱

適用於