REST.Backend.PushTypes.TBackendPushApi.PushDataAsJSON

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function PushDataAsJSON(const AData: TPushData): TJSONObject;

C++

System::Json::TJSONObject* __fastcall PushDataAsJSON(TPushData* const AData);

プロパティ

種類 可視性 ソース ユニット
function public
REST.Backend.PushTypes.pas
REST.Backend.PushTypes.hpp
REST.Backend.PushTypes TBackendPushApi


説明

TPushData オブジェクトを受け取り、その TJSONObject 表現を返します。

PushDataAsJSON はプロバイダが IBackendPushApi2 インターフェイスをサポートするかどうかを確認します。 サポートする場合、PushDataAsJSONIBackendPushApi2.PushDataAsJSON を呼び出します。それ以外の場合、PushDataAsJSON は、例外を発生させます。

例外

PushDataAsJSON を呼び出すと、次の例外が発生する可能性があります。

例外 Exception.Message シナリオ

ENotSupportedException

プロバイダがこの操作をサポートしていません

  • 現在のプロバイダはこの操作をサポートしていません

関連項目