InstancePersistenceContext.Execute 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
執行持久化指令。
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 的指令。 指令可以巢狀,但一個指令一次不能執行超過一個子指令。