ExchangeServiceSubscribeToStreamingNotificationsOnAllFolders - метод
Subscribes to streaming notifications on all folders in the authenticated user's mailbox. Calling this method results in a call to EWS.
Пространство имён: Tessa.Exchange.WebServices.DataСборка: Tessa.Server (в Tessa.Server.dll) Версия: 4.0.4
public Task<StreamingSubscription> SubscribeToStreamingNotificationsOnAllFolders(
CancellationToken token = default,
params EventType[] eventTypes
)
Public Function SubscribeToStreamingNotificationsOnAllFolders (
Optional token As CancellationToken = Nothing,
ParamArray eventTypes As EventType()
) As Task(Of StreamingSubscription)
public:
Task<StreamingSubscription^>^ SubscribeToStreamingNotificationsOnAllFolders(
CancellationToken token = CancellationToken(),
... array<EventType>^ eventTypes
)
member SubscribeToStreamingNotificationsOnAllFolders :
?token : CancellationToken *
eventTypes : EventType[]
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<StreamingSubscription>
- token CancellationToken (Optional)
-
- eventTypes EventType
- The event types to subscribe to.
TaskStreamingSubscriptionA StreamingSubscription representing the new subscription.