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 または TJSONObjectATarget パラメータを TJSONObject として指定することができます。

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

例外

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

例外 Exception.Message シナリオ

ENotSupportedException

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

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

関連項目