ExchangeService.SetReadStateForItemsInConversations(IEnumerable<KeyValuePair<ConversationId, Nullable<DateTime>>>, FolderId, Boolean, Boolean, CancellationToken) - метод |
Sets the read state for items in conversation. Calling this method would
result in call to EWS.
Пространство имён:
Tessa.Exchange.WebServices.Data
Сборка:
Tessa.Server (в Tessa.Server.dll) Версия: 3.5.0.19
Синтаксисpublic Task<ServiceResponseCollection<ServiceResponse>> SetReadStateForItemsInConversations(
IEnumerable<KeyValuePair<ConversationId, DateTime?>> idLastSyncTimePairs,
FolderId contextFolderId,
bool isRead,
bool suppressReadReceipts,
CancellationToken token = default
)
Public Function SetReadStateForItemsInConversations (
idLastSyncTimePairs As IEnumerable(Of KeyValuePair(Of ConversationId, DateTime?)),
contextFolderId As FolderId,
isRead As Boolean,
suppressReadReceipts As Boolean,
Optional token As CancellationToken = Nothing
) As Task(Of ServiceResponseCollection(Of ServiceResponse))
public:
Task<ServiceResponseCollection<ServiceResponse^>^>^ SetReadStateForItemsInConversations(
IEnumerable<KeyValuePair<ConversationId^, Nullable<DateTime>>>^ idLastSyncTimePairs,
FolderId^ contextFolderId,
bool isRead,
bool suppressReadReceipts,
CancellationToken token = CancellationToken()
)
member SetReadStateForItemsInConversations :
idLastSyncTimePairs : IEnumerable<KeyValuePair<ConversationId, Nullable<DateTime>>> *
contextFolderId : FolderId *
isRead : bool *
suppressReadReceipts : bool *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<ServiceResponseCollection<ServiceResponse>>
Параметры
- idLastSyncTimePairs
- Тип: System.Collections.Generic.IEnumerable<KeyValuePair<ConversationId, Nullable<DateTime>>>
The pairs of Id of conversation whose
items should have their read state set and the date and time conversation
was last synced (Items received after that date will not have their read
state set). - contextFolderId
- Тип: Tessa.Exchange.WebServices.Data.FolderId
The Id of the folder that contains the conversation. - isRead
- Тип: System.Boolean
if set to true, conversation items are marked as read; otherwise they are marked as unread. - suppressReadReceipts
- Тип: System.Boolean
if set to true read receipts are suppressed. - token (Optional)
- Тип: System.Threading.CancellationToken
Возвращаемое значение
Тип:
Task<ServiceResponseCollection<ServiceResponse>>
См. также