InstancePersistenceContext.Execute 方法

定義

執行持久化指令。

public:
 void Execute(System::Runtime::DurableInstancing::InstancePersistenceCommand ^ command, TimeSpan timeout);
public void Execute(System.Runtime.DurableInstancing.InstancePersistenceCommand command, TimeSpan timeout);
member this.Execute : System.Runtime.DurableInstancing.InstancePersistenceCommand * TimeSpan -> unit
Public Sub Execute (command As InstancePersistenceCommand, timeout As TimeSpan)

參數

command
InstancePersistenceCommand

執行的是持久性指令。

timeout
TimeSpan

操作的逾時值。

備註

持久化提供者可以使用此方法作為指令的一部分執行子指令。 子指令將使用 TryCommand 執行,類似傳入 InstanceStore.Execute 的指令。 指令可以巢狀,但一個指令一次不能執行超過一個子指令。

適用於