Для изменения размера нажмите или перетащите

ExchangeServiceSubscribeToPushNotifications(IEnumerableFolderId, Uri, Int32, String, CancellationToken, EventType) - метод

Subscribes to push 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<PushSubscription> SubscribeToPushNotifications(
	IEnumerable<FolderId> folderIds,
	Uri url,
	int frequency,
	string watermark,
	CancellationToken token = default,
	params EventType[] eventTypes
)

Параметры

folderIds
Тип: System.Collections.GenericIEnumerableFolderId
The Ids of the folder to subscribe to.
url
Тип: SystemUri
The URL of the Web Service endpoint the Exchange server should push events to.
frequency
Тип: SystemInt32
The frequency, in minutes, at which the Exchange server should contact the Web Service endpoint. Frequency 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.

Возвращаемое значение

Тип: TaskPushSubscription
A PushSubscription representing the new subscription.
См. также