CreateWorkflowOwnerCommand 类

定义

使用此持久性命令将工作流服务主机注册为持久性数据库中的锁所有者。

public ref class CreateWorkflowOwnerCommand sealed : System::Runtime::DurableInstancing::InstancePersistenceCommand
public sealed class CreateWorkflowOwnerCommand : System.Runtime.DurableInstancing.InstancePersistenceCommand
type CreateWorkflowOwnerCommand = class
    inherit InstancePersistenceCommand
Public NotInheritable Class CreateWorkflowOwnerCommand
Inherits InstancePersistenceCommand
继承
CreateWorkflowOwnerCommand

构造函数

名称 说明
CreateWorkflowOwnerCommand()

初始化类的 CreateWorkflowOwnerCommand 实例。

属性

名称 说明
AutomaticallyAcquiringLock

指示命令是否可以尝试获取实例上的锁。

(继承自 InstancePersistenceCommand)
InstanceOwnerMetadata

获取有关实例所有者(当前具有一对一映射到服务主机)的元数据,该字典中的 XName 对象作为键,对象 InstanceValue 作为值。

IsTransactionEnlistmentOptional

返回一个值,该值指示在执行此命令时,持久性提供程序是否可以选择不登记在环境事务(Transaction.Current)中。

(继承自 InstancePersistenceCommand)
Name

获取持久性命令的名称。

(继承自 InstancePersistenceCommand)

方法

名称 说明
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)
Validate(InstanceView)

验证命令。

(继承自 InstancePersistenceCommand)

适用于