Compartir a través de


Miembros RequiresRoleAttribute

Especifica un conjunto de roles a los que se les permite invocar DomainOperationEntry.

En las tablas siguientes se enumeran los miembros que se exponen por el tipo RequiresRoleAttribute.

Público Constructores

  Nombre Descripción
  RequiresRoleAttribute Sobrecargado. Inicializa una nueva instancia de la clase RequiresRoleAttribute.

Superior

Público Propiedades

  Nombre Descripción
ErrorMessage  Obtiene o establece el mensaje de error literal o clave de recurso que se debe devolver en una propiedad ErrorMessage. (Se hereda de AuthorizationAttribute)
ResourceType  Obtiene o establece la clase Type que se va a utilizar como administrador de recursos para ErrorMessage. (Se hereda de AuthorizationAttribute)
Roles Obtiene los roles a los que se les permite invocar la operación.
TypeId Invalidado. Obtiene un identificador único para este atributo.

Superior

Público Métodos

(vea también Protegido Métodos)

  Nombre Descripción
Authorize  (Se hereda de AuthorizationAttribute)
Equals  Sobrecargado. (Se hereda de Attribute)
GetCustomAttribute  Sobrecargado. (Se hereda de Attribute)
GetCustomAttributes  Sobrecargado. (Se hereda de Attribute)
GetHashCode  (Se hereda de Attribute)
GetType  (Se hereda de Object)
IsDefaultAttribute  (Se hereda de Attribute)
IsDefined  Sobrecargado. (Se hereda de Attribute)
Match  (Se hereda de Attribute)
ReferenceEquals  (Se hereda de Object)
ToString  (Se hereda de Object)

Superior

Protegido Métodos

  Nombre Descripción
Finalize  (Se hereda de Object)
FormatErrorMessage  (Se hereda de AuthorizationAttribute)
IsAuthorized  (Se hereda de AuthorizationAttribute)
MemberwiseClone  (Se hereda de Object)

Superior

Implementaciones de interfaces explícitas

  Nombre Descripción
  System.Runtime.InteropServices._Attribute.GetIDsOfNames  (Se hereda de Attribute)
  System.Runtime.InteropServices._Attribute.GetTypeInfo  (Se hereda de Attribute)
  System.Runtime.InteropServices._Attribute.GetTypeInfoCount  (Se hereda de Attribute)
  System.Runtime.InteropServices._Attribute.Invoke  (Se hereda de Attribute)

Superior

Vea también

Referencia

Clase RequiresRoleAttribute
Espacio de nombres System.ServiceModel.DomainServices.Server