Clase ProfileUsageAttribute
Describe cómo se respalda una propiedad en un perfil de ASP.NET.
Espacio de nombres: System.ServiceModel.DomainServices.Server.ApplicationServices
Ensamblado: System.ServiceModel.DomainServices.Server (en system.servicemodel.domainservices.server.dll)
Uso
'Uso
Dim instance As ProfileUsageAttribute
Sintaxis
'Declaración
<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple:=False, Inherited:=False)> _
Public NotInheritable Class ProfileUsageAttribute
Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
public sealed class ProfileUsageAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Property, AllowMultiple=false, Inherited=false)]
public ref class ProfileUsageAttribute sealed : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple=false, Inherited=false) */
public final class ProfileUsageAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple=false, Inherited=false)
public final class ProfileUsageAttribute extends Attribute
Notas
AuthenticationBase utiliza este atributo para determinar cómo se debe leer o escribir en el perfil de ASP.NET que respalda los datos. Si existe una propiedad con el mismo nombre en el perfil, no es necesario utilizar este atributo. Si una propiedad no está en el perfil, se debe establecer la propiedad IsExcluded en true. Si una propiedad tiene un nombre diferente que el valor del perfil que la respalda, se debe establecer la propiedad Alias en el nombre del valor de respaldo del perfil. El atributo se puede utilizar con entidades de usuario extendidas UserBase.
Jerarquía de herencia
System.Object
System.Attribute
System.ServiceModel.DomainServices.Server.ApplicationServices.ProfileUsageAttribute
Seguridad para subprocesos
Cualquier miembro estático público (Compartidos en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Plataformas
Plataformas de desarrollo
Microsoft Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008 y Windows 2000
Plataformas de destino
Vea también
Referencia
Miembros ProfileUsageAttribute
Espacio de nombres System.ServiceModel.DomainServices.Server.ApplicationServices