System.Tether.AppProfile.TTetheringAppProfile.GetRemoteActionAsyncState

提供:RAD Studio API Documentation

Delphi

function GetRemoteActionAsyncState(const AProfile: TTetheringProfileInfo; ARemoteActionHandle: TRemoteActionHandle): TRemoteActionState; overload;
function GetRemoteActionAsyncState(const AnAction: TRemoteAction): TRemoteActionState; overload;
function GetRemoteActionAsyncState(const AProfile: TTetheringProfileInfo; const AnActionName: string): TRemoteActionState; overload;

C++

TRemoteActionState __fastcall GetRemoteActionAsyncState(const System::Tether::Manager::TTetheringProfileInfo &AProfile, TRemoteActionHandle ARemoteActionHandle)/* overload */;
TRemoteActionState __fastcall GetRemoteActionAsyncState(TRemoteAction* const AnAction)/* overload */;
TRemoteActionState __fastcall GetRemoteActionAsyncState(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


説明

非同期の TRemoteAction の現在の状態を返します。

GetRemoteActionAsyncState メソッドは、以下に示す取り得る状態値のいずれかを返します。

値 説明

Running

非同期の TRemoteAction は現在実行中です(実行はまだ終わっていません)。

NotRunning

非同期の TRemoteAction は実行中ではありません(実行は既に終わっています)。

NotFound

非同期リモート アクションの名前またはプロファイルが見つかりません。

GetRemoteActionAsyncState メソッドはオーバーロードされていて、以下のパラメータの 1 つ以上を受け取ります。

パラメータ 意味

AProfile

状態を取得する非同期リモート アクションのリモート プロファイル。

ARemoteActionHandle

状態を取得する非同期リモート アクションの型。

AnAction

状態を取得する非同期の TRemoteAction。

AnActionName

状態を取得する非同期リモート アクションの名前。

関連項目