CreateWorkflowOwnerCommand CreateWorkflowOwnerCommand CreateWorkflowOwnerCommand CreateWorkflowOwnerCommand Class


Use this persistence command to register a workflow service host as a lock owner in the persistence database.

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() CreateWorkflowOwnerCommand()

Initializes an instance of the CreateWorkflowOwnerCommand class.


AutomaticallyAcquiringLock AutomaticallyAcquiringLock AutomaticallyAcquiringLock AutomaticallyAcquiringLock

Indicates whether the command could attempt to acquire a lock on the instance.

(Inherited from InstancePersistenceCommand)
InstanceOwnerMetadata InstanceOwnerMetadata InstanceOwnerMetadata InstanceOwnerMetadata

Gets the metadata about the instance owner (currently has a one-to-one mapping to a service host) in a dictionary with an XName object as the key and an InstanceValue object as a value.

IsTransactionEnlistmentOptional IsTransactionEnlistmentOptional IsTransactionEnlistmentOptional IsTransactionEnlistmentOptional

Returns a value that indicates whether the persistence provider may choose not to enlist in the ambient transaction (Transaction.Current) when executing this command.

(Inherited from InstancePersistenceCommand)
Name Name Name Name

Gets the name of the persistence command.

(Inherited from InstancePersistenceCommand)


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
Validate(InstanceView) Validate(InstanceView) Validate(InstanceView) Validate(InstanceView)

Validates the command.

(Inherited from InstancePersistenceCommand)

Applies to