ExchangeService.SubscribeToPushNotifications メソッド

定義

オーバーロード

SubscribeToPushNotifications(IEnumerable<FolderId>, Uri, Int32, String, EventType[])

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

SubscribeToPushNotifications(IEnumerable<FolderId>, Uri, Int32, String, String, EventType[])

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

SubscribeToPushNotifications(IEnumerable<FolderId>, Uri, Int32, String, EventType[])

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

public:
 Microsoft::Exchange::WebServices::Data::PushSubscription ^ SubscribeToPushNotifications(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 Microsoft.Exchange.WebServices.Data.PushSubscription SubscribeToPushNotifications (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 SubscribeToPushNotifications (folderIds As IEnumerable(Of FolderId), url As Uri, frequency As Integer, watermark As String, ParamArray eventTypes As EventType()) As PushSubscription

パラメーター

folderIds
IEnumerable<FolderId>

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

url
Uri

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

frequency
Int32

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

watermark
String

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

eventTypes
EventType[]

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

戻り値

サブスクリプション応答オブジェクト。

注釈

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

適用対象

SubscribeToPushNotifications(IEnumerable<FolderId>, Uri, Int32, String, String, EventType[])

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

public:
 Microsoft::Exchange::WebServices::Data::PushSubscription ^ SubscribeToPushNotifications(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 Microsoft.Exchange.WebServices.Data.PushSubscription SubscribeToPushNotifications (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 SubscribeToPushNotifications (folderIds As IEnumerable(Of FolderId), url As Uri, frequency As Integer, watermark As String, callerData As String, ParamArray eventTypes As EventType()) As PushSubscription

パラメーター

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) が呼び出されます。

適用対象