ExchangeServiceSubscribeToPullNotifications - метод
Subscribes to pull notifications. Calling this method results in a call to EWS.
Пространство имён: Tessa.Exchange.WebServices.DataСборка: Tessa.Server (в Tessa.Server.dll) Версия: 3.6.0.22
public Task<PullSubscription> SubscribeToPullNotifications(
IEnumerable<FolderId> folderIds,
int timeout,
string watermark,
CancellationToken token = default,
params EventType[] eventTypes
)
Public Function SubscribeToPullNotifications (
folderIds As IEnumerable(Of FolderId),
timeout As Integer,
watermark As String,
Optional token As CancellationToken = Nothing,
ParamArray eventTypes As EventType()
) As Task(Of PullSubscription)
public:
Task<PullSubscription^>^ SubscribeToPullNotifications(
IEnumerable<FolderId^>^ folderIds,
int timeout,
String^ watermark,
CancellationToken token = CancellationToken(),
... array<EventType>^ eventTypes
)
member SubscribeToPullNotifications :
folderIds : IEnumerable<FolderId> *
timeout : int *
watermark : string *
?token : CancellationToken *
eventTypes : EventType[]
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<PullSubscription>
- folderIds IEnumerableFolderId
- The Ids of the folder to subscribe to.
- timeout Int32
- The timeout, in minutes, after which the subscription expires. Timeout must be between 1 and 1440.
- watermark String
- An optional watermark representing a previously opened subscription.
- token CancellationToken (Optional)
-
- eventTypes EventType
- The event types to subscribe to.
TaskPullSubscriptionA PullSubscription representing the new subscription.