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 的命令。 命令可以嵌套,但是一个命令不能同时执行多个子命令。

适用于