WebWorkflowRole Construtores

Definição

Inicializa uma nova instância da classe WebWorkflowRole.Initializes a new instance of the WebWorkflowRole class.

Sobrecargas

WebWorkflowRole(String)

Inicializa uma nova instância da classe WebWorkflowRole usando o nome do tipo especificado.Initializes a new instance of the WebWorkflowRole class by using the specified role name.

WebWorkflowRole(String, String)

Inicializa uma nova instância da classe WebWorkflowRole usando o nome da função e o provedor da função especificados.Initializes a new instance of the WebWorkflowRole class by using the specified role name and role provider.

WebWorkflowRole(String)

Inicializa uma nova instância da classe WebWorkflowRole usando o nome do tipo especificado.Initializes a new instance of the WebWorkflowRole class by using the specified role name.

public:
 WebWorkflowRole(System::String ^ roleName);
public WebWorkflowRole (string roleName);
new System.Workflow.Activities.WebWorkflowRole : string -> System.Workflow.Activities.WebWorkflowRole
Public Sub New (roleName As String)

Parâmetros

roleName
String

Uma cadeia de caracteres que define o nome da função.A string that defines the name of the role.

Exceções

roleName contém uma referência nula (Nothing no Visual Basic).roleName contains a null reference (Nothing in Visual Basic).

Aplica-se a

WebWorkflowRole(String, String)

Inicializa uma nova instância da classe WebWorkflowRole usando o nome da função e o provedor da função especificados.Initializes a new instance of the WebWorkflowRole class by using the specified role name and role provider.

public:
 WebWorkflowRole(System::String ^ roleName, System::String ^ provider);
public WebWorkflowRole (string roleName, string provider);
new System.Workflow.Activities.WebWorkflowRole : string * string -> System.Workflow.Activities.WebWorkflowRole
Public Sub New (roleName As String, provider As String)

Parâmetros

roleName
String

Uma cadeia de caracteres que define o nome da função.A string that defines the name of the role.

provider
String

Uma cadeia de caracteres que define o provedor de função.A string that defines the role provider.

Exceções

roleName contém uma referência nula (Nothing no Visual Basic).roleName contains a null reference (Nothing in Visual Basic).

Comentários

Os provedores de função mais comumente usados para o WebWorkflowRole são classes que herdam de RoleProvider .The most commonly used role providers for WebWorkflowRole are classes that inherit from RoleProvider. Essas classes incluem AuthorizationStoreRoleProvider SqlRoleProvider e WindowsTokenRoleProvider .These classes include AuthorizationStoreRoleProvider, SqlRoleProvider and WindowsTokenRoleProvider.

Aplica-se a