EmailMailbox.MarkMessageReadAsync(String, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
以非同步方式將電子郵件訊息標示為已讀取或未讀取。
public:
virtual IAsyncAction ^ MarkMessageReadAsync(Platform::String ^ messageId, bool isRead) = MarkMessageReadAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction MarkMessageReadAsync(winrt::hstring const& messageId, bool const& isRead);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction MarkMessageReadAsync(string messageId, bool isRead);
function markMessageReadAsync(messageId, isRead)
Public Function MarkMessageReadAsync (messageId As String, isRead As Boolean) As IAsyncAction
參數
- messageId
-
String
Platform::String
winrt::hstring
要標記之訊息的識別碼。
- isRead
-
Boolean
bool
True 是表示 將訊息標示為已讀取,false 則會將其標示為未讀取。
傳回
非同步動作,表示作業已完成。
- 屬性
Windows 需求
應用程式功能 |
email
emailSystem
|