ExchangeService.BeginSubscribeToPushNotifications メソッド

定義

オーバーロード

BeginSubscribeToPushNotifications(AsyncCallback, Object, IEnumerable<FolderId>, Uri, Int32, String, EventType[])

プッシュ通知をサブスクライブするための非同期要求を開始します。 このBeginSubscribeToPushNotifications(AsyncCallback, Object, IEnumerable<FolderId>, Uri, Int32, String, EventType[])方法は、Exchange Onlineおよび 2013 以降のバージョンの Exchange を対象とするクライアントExchange Server適用できます。

BeginSubscribeToPushNotifications(AsyncCallback, Object, IEnumerable<FolderId>, Uri, Int32, String, String, EventType[])

プッシュ通知応答で返される追加情報の要求を含むプッシュ通知をサブスクライブする非同期要求を開始します。 このBeginSubscribeToPushNotifications(AsyncCallback, Object, IEnumerable<FolderId>, Uri, Int32, String, String, EventType[])方法は、Exchange Onlineおよび 2013 以降のバージョンの Exchange を対象とするクライアントExchange Server適用できます。

BeginSubscribeToPushNotifications(AsyncCallback, Object, IEnumerable<FolderId>, Uri, Int32, String, EventType[])

プッシュ通知をサブスクライブするための非同期要求を開始します。 このBeginSubscribeToPushNotifications(AsyncCallback, Object, IEnumerable<FolderId>, Uri, Int32, String, EventType[])方法は、Exchange Onlineおよび 2013 以降のバージョンの Exchange を対象とするクライアントExchange Server適用できます。

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

パラメーター

callback
AsyncCallback

対応する非同期操作が完了したときに呼び出すメソッドへの参照。

state
Object

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

folderIds
IEnumerable<FolderId>

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

url
Uri

Exchange サーバーがイベントをプッシュする Web サービス エンドポイントの URL。

frequency
Int32

Exchange サーバーが Web サービス エンドポイントに接続する間隔 (分)。 この値は、1 ~ 1440 の範囲である必要があります。

watermark
String

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

eventTypes
EventType[]

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

戻り値

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

注釈

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

適用対象

BeginSubscribeToPushNotifications(AsyncCallback, Object, IEnumerable<FolderId>, Uri, Int32, String, String, EventType[])

プッシュ通知応答で返される追加情報の要求を含むプッシュ通知をサブスクライブする非同期要求を開始します。 このBeginSubscribeToPushNotifications(AsyncCallback, Object, IEnumerable<FolderId>, Uri, Int32, String, String, EventType[])方法は、Exchange Onlineおよび 2013 以降のバージョンの Exchange を対象とするクライアントExchange Server適用できます。

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

パラメーター

callback
AsyncCallback

対応する非同期操作が完了したときに呼び出すメソッドへの参照。

state
Object

この要求の状態情報を格納するオブジェクト。

folderIds
IEnumerable<FolderId>

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

url
Uri

Exchange サーバーがイベントをプッシュする必要がある Web サービス エンドポイントの URL。

frequency
Int32

Exchange サーバーが Web サービス エンドポイントに接続する頻度 (分単位)。 この値は 1 から 1440 の間である必要があります。

watermark
String

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

callerData
String

プッシュ通知応答で呼び出し元が要求するオプションの情報。

eventTypes
EventType[]

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

戻り値

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

注釈

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

適用対象