InstancePersistenceContext.BeginExecute 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
開始非同步執行持久化指令。
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
州政府資訊。
傳回
非同步操作的狀態。
備註
持久化提供者可以使用此方法作為指令的一部分執行子指令。 子指令將使用 BeginTryCommand 執行,類似傳給 InstanceStore.BeginExecute 的指令。 指令可以巢狀,但一個指令一次不能執行超過一個子指令。