다음을 통해 공유


ProfileUsageAttribute 클래스

ASP.NET 프로필에서 속성이 지원되는 방법을 설명합니다.

네임스페이스: System.ServiceModel.DomainServices.Server.ApplicationServices
어셈블리: system.servicemodel.domainservices.server.dll의 System.ServiceModel.DomainServices.Server

사용법

‘사용 방법
Dim instance As ProfileUsageAttribute

구문

‘선언
<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

설명

이 특성은 AuthenticationBase에서 데이터를 지원하는 ASP.NET 프로필을 읽거나 쓰는 방법을 확인하는 데 사용됩니다. 이름이 같은 속성이 프로필에 있는 경우 이 특성을 사용할 필요가 없습니다. 속성이 프로필에 없는 경우 IsExcluded 속성을 true로 설정해야 합니다. 속성 이름이 속성을 지원하는 프로필 값과 다른 경우 Alias 속성을 프로필에 있는 지원 값의 이름으로 설정해야 합니다. 이 특성은 UserBase를 확장하는 사용자 엔터티와 함께 사용할 수 있습니다.

상속 계층

System.Object
   System.Attribute
    System.ServiceModel.DomainServices.Server.ApplicationServices.ProfileUsageAttribute

스레드 보안

이 형식의 모든 public static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 모든 인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.

플랫폼

개발 플랫폼

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008 및 Windows 2000

대상 플랫폼

참고 항목

참조

ProfileUsageAttribute 멤버
System.ServiceModel.DomainServices.Server.ApplicationServices 네임스페이스