REST.Backend.PushTypes.TBackendPushApi.PushToTarget

提供:RAD Studio API Documentation

Delphi

procedure PushToTarget(const AData: TPushData; const ATarget: TJSONObject); overload;
procedure PushToTarget(const AData: TJSONObject; const ATarget: TJSONObject); overload;

C++

void __fastcall PushToTarget(TPushData* const AData, System::Json::TJSONObject* const ATarget)/* overload */;
void __fastcall PushToTarget(System::Json::TJSONObject* const AData, System::Json::TJSONObject* const ATarget)/* overload */;

プロパティ

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


説明

指定のターゲットに指定の通知データを送信します。

AData パラメータを TPushData または TJSONObject、ATarget パラメータを TJSONObject として指定することができます。

PushToTarget はプロバイダが IBackendPushApi3 インターフェイスをサポートするかどうかを確認します。 サポートする場合、PushToTarget は IBackendPushApi3.PushToTarget を呼び出します。 それ以外の場合、PushToTarget は ATarget パラメータの値を確認します。

例外

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

例外 Exception.Message シナリオ

ENotSupportedException

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

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

関連項目