ExchangeServiceSubscribeToStreamingNotifications - метод |
Subscribes to streaming notifications. Calling this method results in a call to EWS.
Пространство имён:
Tessa.Exchange.WebServices.Data
Сборка:
Tessa.Server (в Tessa.Server.dll) Версия: 3.5.0.19
Синтаксис public Task<StreamingSubscription> SubscribeToStreamingNotifications(
IEnumerable<FolderId> folderIds,
CancellationToken token = default,
params EventType[] eventTypes
)
Public Function SubscribeToStreamingNotifications (
folderIds As IEnumerable(Of FolderId),
Optional token As CancellationToken = Nothing,
ParamArray eventTypes As EventType()
) As Task(Of StreamingSubscription)
public:
Task<StreamingSubscription^>^ SubscribeToStreamingNotifications(
IEnumerable<FolderId^>^ folderIds,
CancellationToken token = CancellationToken(),
... array<EventType>^ eventTypes
)
member SubscribeToStreamingNotifications :
folderIds : IEnumerable<FolderId> *
?token : CancellationToken *
eventTypes : EventType[]
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<StreamingSubscription>
Параметры
- folderIds
- Тип: System.Collections.GenericIEnumerableFolderId
The Ids of the folder to subscribe to. - token (Optional)
- Тип: System.ThreadingCancellationToken
- eventTypes
- Тип: Tessa.Exchange.WebServices.DataEventType
The event types to subscribe to.
Возвращаемое значение
Тип:
TaskStreamingSubscriptionA StreamingSubscription representing the new subscription.
См. также