ExchangeService.SubscribeToPullNotifications Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Se suscribe a notificaciones de extracción.
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
Parámetros
- folderIds
- IEnumerable<FolderId>
Los identificadores de la carpeta que se puede suscribir al.
- timeout
- Int32
La cantidad de tiempo transcurrido, en minutos, tras el cual caduca la suscripción. El valor de este parámetro debe ser en el rango comprendido entre 1 y 1440.
- watermark
- String
Una marca de agua opcional que representa una suscripción abierta anteriormente.
- eventTypes
- EventType[]
Los tipos de evento que se puede suscribir al.
Devoluciones
La nueva suscripción a la carpeta especificada.
Comentarios
Llamar a este método se genera en una llamada a servicios Web de Exchange (EWS).