InstanceStore.BeginExecute メソッド

定義

LoadWorkflowCommandSaveWorkflowCommandなどの永続化コマンドを非同期的に実行します。

public:
 IAsyncResult ^ BeginExecute(System::Runtime::DurableInstancing::InstanceHandle ^ handle, System::Runtime::DurableInstancing::InstancePersistenceCommand ^ command, TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginExecute(System.Runtime.DurableInstancing.InstanceHandle handle, System.Runtime.DurableInstancing.InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state);
member this.BeginExecute : System.Runtime.DurableInstancing.InstanceHandle * System.Runtime.DurableInstancing.InstancePersistenceCommand * TimeSpan * AsyncCallback * obj -> IAsyncResult
Public Function BeginExecute (handle As InstanceHandle, command As InstancePersistenceCommand, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

パラメーター

handle
InstanceHandle

インスタンス ハンドル。

command
InstancePersistenceCommand

実行するコマンド。

timeout
TimeSpan

コマンド実行のタイムアウト値。

callback
AsyncCallback

非同期操作の完了の通知を受け取る非同期コールバック デリゲート。

state
Object

状態情報。

返品

非同期操作の状態。

注釈

ホストは、 BeginExecute メソッドを呼び出して、インスタンス ハンドルに対して永続化コマンドを非同期的に実行します。 ホストは、 CreateInstanceHandle メソッドを呼び出してインスタンス ハンドルを取得します。 インスタンス ハンドルは、インスタンス、インスタンス所有者、インスタンス ロックなど、コマンドのコンテキストとサブジェクトを表すエンティティにバインドできます。 インスタンス ハンドルに対して一度に発行できるコマンドは 1 つだけです。

適用対象