ExchangeService.BeginSubscribeToPullNotifications メソッド

定義

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

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

パラメーター

callback
AsyncCallback

AsyncCallback デリゲート。

state
Object

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

folderIds
IEnumerable<FolderId>

サブスクライブするフォルダーのフォルダー識別子。

timeout
Int32

タイムアウトの期間 (分単位)、サブスクリプションの有効期限が切れます。 タイムアウト期間は、1 ~ 1440 の範囲である必要があります。

watermark
String

以前に開いたサブスクリプションを表すオプションの透かし。

eventTypes
EventType[]

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

戻り値

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

注釈

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

適用対象