System.Tether.AppProfile.TTetheringAppProfile.RunRemoteActionAsync

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

Delphi

function RunRemoteActionAsync(const AnAction: TRemoteAction): TRemoteActionHandle; overload;
function RunRemoteActionAsync(const AProfile: TTetheringProfileInfo; const AnActionName: string): TRemoteActionHandle; overload;

C++

NativeUInt __fastcall RunRemoteActionAsync(TRemoteAction* const AnAction)/* overload */;
NativeUInt __fastcall RunRemoteActionAsync(const System::Tether::Manager::TTetheringProfileInfo &AProfile, const System::UnicodeString AnActionName)/* overload */;

プロパティ

種類 可視性 ソース ユニット
function public
System.Tether.AppProfile.pas
System.Tether.AppProfile.hpp
System.Tether.AppProfile TTetheringAppProfile


説明

指定されたリモート アクションを非同期的に実行するように要求し、非同期リモート ハンドルを返します。

次のパラメータのどちらかでリモート アクションを指定できます。

RunRemoteActionAsync は非同期関数です。この関数では、リモート プロファイルへの要求を実行します。リモート アクションが終了すると、OnASyncRemoteActionEnd イベントがトリガされます。

例外

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

例外 例外の Message プロパティ シナリオ

ETetheringException

アクション <アクション名> のプロファイルが見つかりません

関連項目