Düzenle

Aracılığıyla paylaş


CreateWorkflowOwnerCommand Class

Definition

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
Inheritance
CreateWorkflowOwnerCommand

Constructors

CreateWorkflowOwnerCommand()

Initializes an instance of the CreateWorkflowOwnerCommand class.

Properties

AutomaticallyAcquiringLock

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

(Inherited from InstancePersistenceCommand)
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

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

Gets the name of the persistence command.

(Inherited from InstancePersistenceCommand)

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
Validate(InstanceView)

Validates the command.

(Inherited from InstancePersistenceCommand)

Applies to