ExchangeService.SubscribeToPullNotifications(IEnumerable<FolderId>, Int32, String, EventType[]) ExchangeService.SubscribeToPullNotifications(IEnumerable<FolderId>, Int32, String, EventType[]) ExchangeService.SubscribeToPullNotifications(IEnumerable<FolderId>, Int32, String, EventType[]) Method

Definition

Pull Benachrichtigungen abonniert. Subscribes to pull notifications.

public:
 Microsoft::Exchange::WebServices::Data::PullSubscription ^ SubscribeToPullNotifications(System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::FolderId ^> ^ folderIds, int timeout, System::String ^ watermark, ... cli::array <Microsoft::Exchange::WebServices::Data::EventType> ^ eventTypes);
public Microsoft.Exchange.WebServices.Data.PullSubscription SubscribeToPullNotifications (System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.FolderId> folderIds, int timeout, string watermark, params Microsoft.Exchange.WebServices.Data.EventType[] eventTypes);
Public Function SubscribeToPullNotifications (folderIds As IEnumerable(Of FolderId), timeout As Integer, watermark As String, ParamArray eventTypes As EventType()) As PullSubscription

Parameter

folderIds
IEnumerable<FolderId>

Die IDs des Ordners abonniert werden. The IDs of the folder to be subscribed to.

timeout
Int32 Int32 Int32

Der Betrag der verstrichenen Zeit in Minuten ein, nach denen das Abonnement abläuft. The amount of elapsed time, in minutes, after which the subscription expires. Der Wert dieses Parameters muss im Bereich von 1 bis 1440 sein. The value of this parameter must be in the range from 1 through 1440.

watermark
String String String

Eine optionale Wasserzeichen, die ein zuvor geöffnete Abonnement darstellt. An optional watermark that represents a previously opened subscription.

eventTypes
EventType[]

Die Ereignistypen abonniert werden. The event types to be subscribed to.

Gibt zurück

Das neue Abonnement mit den angegebenen Ordner. The new subscription to the specified folder.

Hinweise

Aufruf dieser Methode führt einen Anruf an die Exchange-Webdienste (EWS).

Calling this method results in a call to Exchange Web Services (EWS).

Gilt für: