編輯

共用方式為


WebWorkflowRole Class

Definition

Caution

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

Represents a Workflow role that is backed by a RoleProvider.

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

Remarks

Note

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

Constructors

WebWorkflowRole(String, String)

Initializes a new instance of the WebWorkflowRole class by using the specified role name and role provider.

WebWorkflowRole(String)

Initializes a new instance of the WebWorkflowRole class by using the specified role name.

Properties

Name

Gets or sets the name of the WebWorkflowRole.

RoleProvider

Gets or sets the role provider for the WebWorkflowRole.

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

Returns a generic list of ASP.NET accounts associated with the WebWorkflowRole.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
IncludesIdentity(String)

Returns a value indicating whether the WebWorkflowRole 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