ExchangeServiceSubscribeToPullNotificationsOnAllFolders - метод |
Subscribes to pull 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) Версия: 3.5.0.19
Синтаксис public Task<PullSubscription> SubscribeToPullNotificationsOnAllFolders(
int timeout,
string watermark,
CancellationToken token = default,
params EventType[] eventTypes
)
Public Function SubscribeToPullNotificationsOnAllFolders (
timeout As Integer,
watermark As String,
Optional token As CancellationToken = Nothing,
ParamArray eventTypes As EventType()
) As Task(Of PullSubscription)
public:
Task<PullSubscription^>^ SubscribeToPullNotificationsOnAllFolders(
int timeout,
String^ watermark,
CancellationToken token = CancellationToken(),
... array<EventType>^ eventTypes
)
member SubscribeToPullNotificationsOnAllFolders :
timeout : int *
watermark : string *
?token : CancellationToken *
eventTypes : EventType[]
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<PullSubscription>
Параметры
- timeout
- Тип: SystemInt32
The timeout, in minutes, after which the subscription expires. Timeout must be between 1 and 1440. - watermark
- Тип: SystemString
An optional watermark representing a previously opened subscription. - token (Optional)
- Тип: System.ThreadingCancellationToken
- eventTypes
- Тип: Tessa.Exchange.WebServices.DataEventType
The event types to subscribe to.
Возвращаемое значение
Тип:
TaskPullSubscriptionA PullSubscription representing the new subscription.
См. также