ExchangeService.BeginSubscribeToStreamingNotificationsOnAllFolders 方法

定义

开始一个异步请求,以订阅指定用户邮箱中所有文件夹的流式处理通知。此方法是在 Exchange Web Services (EWS) 托管 API 1.2 中引入的。

public:
 IAsyncResult ^ BeginSubscribeToStreamingNotificationsOnAllFolders(AsyncCallback ^ callback, System::Object ^ state, ... cli::array <Microsoft::Exchange::WebServices::Data::EventType> ^ eventTypes);
public IAsyncResult BeginSubscribeToStreamingNotificationsOnAllFolders (AsyncCallback callback, object state, params Microsoft.Exchange.WebServices.Data.EventType[] eventTypes);
Public Function BeginSubscribeToStreamingNotificationsOnAllFolders (callback As AsyncCallback, state As Object, ParamArray eventTypes As EventType()) As IAsyncResult

参数

callback
AsyncCallback

AsyncCallback 委托。

state
Object

一个 对象,该对象包含指定请求的状态信息。

eventTypes
EventType[]

要订阅的事件类型。

返回

引用异步请求的 IAsyncResult 对象。

注解

调用此方法会导致调用 Exchange Web Service (EWS) 。

适用于