InstancePersistenceContext.BeginExecute メソッド

定義

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

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

パラメーター

command
InstancePersistenceCommand

実行する永続化コマンド。

timeout
TimeSpan

操作のタイムアウト値。

callback
AsyncCallback

非同期の通知を受け取るデリゲートは、要求操作が完了したことを受け取ります。

state
Object

状態情報。

返品

非同期操作の状態。

注釈

永続化プロバイダーは、このメソッドを使用して、コマンドの一部としてサブコマンドを実行できます。 サブコマンドは、InstanceStore.BeginExecute に渡されるコマンドと同様に、BeginTryCommand を使用して実行されます。 コマンドは入れ子にできますが、1 つのコマンドで一度に複数のサブコマンドを実行することはできません。

適用対象