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