CreateWorkflowOwnerCommand Class

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Activities.DurableInstancing
Assembly:  System.Activities (in System.Activities.dll)

System.Object
  System.Runtime.DurableInstancing.InstancePersistenceCommand
    System.Activities.DurableInstancing.CreateWorkflowOwnerCommand

public sealed class CreateWorkflowOwnerCommand : InstancePersistenceCommand

NameDescription
System_CAPS_pubmethodCreateWorkflowOwnerCommand()

Initializes an instance of the CreateWorkflowOwnerCommand class.

NameDescription
System_CAPS_protpropertyAutomaticallyAcquiringLock

Indicates whether the command could attempt to acquire a lock on the instance. (Inherited from InstancePersistenceCommand.)

System_CAPS_pubpropertyInstanceOwnerMetadata

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 T:System.Runtime.Persistence.InstanceValue object as a value.

System_CAPS_protpropertyIsTransactionEnlistmentOptional

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

System_CAPS_pubpropertyName

Gets the name of the persistence command.(Inherited from InstancePersistenceCommand.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_protmethodValidate(InstanceView)

Validates the command.(Inherited from InstancePersistenceCommand.)

.NET Framework
Available since 4.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: