ExchangeServiceSubscribeToStreamingNotifications - метод
Subscribes to streaming notifications. Calling this method results in a call to EWS.
Пространство имён: Tessa.Exchange.WebServices.DataСборка: Tessa.Server (в Tessa.Server.dll) Версия: 4.0.4
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 IEnumerableFolderId
- The Ids of the folder to subscribe to.
- token CancellationToken (Optional)
-
- eventTypes EventType
- The event types to subscribe to.
TaskStreamingSubscriptionA StreamingSubscription representing the new subscription.