Επεξεργασία

Κοινή χρήση μέσω


WorkflowRole Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

The abstract base class from which workflow roles are derived.

public ref class WorkflowRole abstract
[System.Serializable]
public abstract class WorkflowRole
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class WorkflowRole
[<System.Serializable>]
type WorkflowRole = class
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowRole = class
Public MustInherit Class WorkflowRole
Inheritance
WorkflowRole
Derived
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

You can derive classes from the WorkflowRole class in order to implement role-based access to your workflows and their activities. The WebWorkflowRole class and the ActiveDirectoryRole class derive from the WorkflowRole class.

Constructors

WorkflowRole()

When implemented in a derived class, initializes a new instance of the WorkflowRole class.

Properties

Name

When implemented in a derived class, gets or sets the name of this WorkflowRole.

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

When implemented in a derived class gets the identities contained by this WorkflowRole.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
IncludesIdentity(String)

When implemented in a derived class, returns a value that indicates whether this role contains the specified identity.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to