ExchangeService.BeginSubscribeToStreamingNotifications メソッド

定義

ストリーミング通知をサブスクライブするための非同期要求を開始します。このメソッドは、Exchange Web Services (EWS) マネージ API 1.2 で導入されました。

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

パラメーター

callback
AsyncCallback

AsyncCallback デリゲート。

state
Object

指定した要求の状態情報を格納するオブジェクト。

folderIds
IEnumerable<FolderId>

サブスクライブするフォルダーのフォルダー ID。

eventTypes
EventType[]

サブスクライブするイベントの種類。

戻り値

非同期要求を参照する同期結果オブジェクト。

注釈

このメソッドを呼び出すと、Exchange Web Service (EWS) が呼び出されます。

適用対象