ContextAttribute 클래스

정의

IContextAttributeIContextProperty 인터페이스의 기본 구현을 제공합니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

public ref class ContextAttribute : Attribute, System::Runtime::Remoting::Contexts::IContextAttribute, System::Runtime::Remoting::Contexts::IContextProperty
[System.AttributeUsage(System.AttributeTargets.Class)]
[System.Serializable]
public class ContextAttribute : Attribute, System.Runtime.Remoting.Contexts.IContextAttribute, System.Runtime.Remoting.Contexts.IContextProperty
[System.AttributeUsage(System.AttributeTargets.Class)]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class ContextAttribute : Attribute, System.Runtime.Remoting.Contexts.IContextAttribute, System.Runtime.Remoting.Contexts.IContextProperty
[System.AttributeUsage(System.AttributeTargets.Class)]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public class ContextAttribute : Attribute, System.Runtime.Remoting.Contexts.IContextAttribute, System.Runtime.Remoting.Contexts.IContextProperty
[<System.AttributeUsage(System.AttributeTargets.Class)>]
[<System.Serializable>]
type ContextAttribute = class
    inherit Attribute
    interface IContextAttribute
    interface IContextProperty
[<System.AttributeUsage(System.AttributeTargets.Class)>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ContextAttribute = class
    inherit Attribute
    interface IContextAttribute
    interface IContextProperty
[<System.AttributeUsage(System.AttributeTargets.Class)>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Security.SecurityCritical>]
type ContextAttribute = class
    inherit Attribute
    interface IContextAttribute
    interface IContextProperty
Public Class ContextAttribute
Inherits Attribute
Implements IContextAttribute, IContextProperty
상속
ContextAttribute
파생
특성
구현

설명

ContextAttribute 클래스는 모든 상황에 맞는 특성에 대 한 루트입니다. 간단한 Context 클래스 속성에서 파생할 수 ContextAttribute 컨텍스트 특성 및 클래스에 컨텍스트 속성을 사용 합니다. 보다 전문화 된 또는 보다 복잡 한 요구 사항에 대 한 컨텍스트 특성에서 파생 될 수 있습니다 ContextAttribute 및 구분 된 클래스를 컨텍스트 속성을 분할할 수 있습니다. 특성을 사용 하는 방법에 대 한 자세한 내용은 참조 하세요. 특성합니다.

상속자 참고

Name 사용자 파생 클래스에서 속성을 재정의 해야 합니다. 현재 Equals(Object)GetHashCode() 메서드는 기본 기능에 의존 합니다. 확장 하는 클래스에 대 한 고급 동작을 제공 하는 ContextAttribute 클래스를 재정의 합니다 Name 속성인 있습니다의 기본 구현을 재정의 하는 Equals(Object)GetHashCode() 메서드.

생성자

ContextAttribute(String)

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

지정된 이름을 사용하여 ContextAttribute 클래스의 인스턴스를 만듭니다.

필드

AttributeName

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

컨텍스트 특성의 이름을 나타냅니다.

속성

Name

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

컨텍스트 특성의 이름을 가져옵니다.

TypeId

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

파생 클래스에서 구현된 경우 이 Attribute에 대한 고유 식별자를 가져옵니다.

(다음에서 상속됨 Attribute)

메서드

Equals(Object)

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

이 인스턴스가 지정된 개체와 같은지 여부를 나타내는 부울 값을 반환합니다.

Freeze(Context)

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

컨텍스트가 고정될 때 호출됩니다.

GetHashCode()

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

ContextAttribute 인스턴스에 대한 해시 코드를 반환합니다.

GetPropertiesForNewContext(IConstructionCallMessage)

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

지정된 메시지에 현재 컨텍스트 속성을 추가합니다.

GetType()

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
IsContextOK(Context, IConstructionCallMessage)

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

컨텍스트 매개 변수가 컨텍스트 특성의 요구 사항을 충족시키는지 여부를 나타내는 부울 값을 반환합니다.

IsDefaultAttribute()

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

파생 클래스에서 재정의된 경우 이 인스턴스 값이 파생 클래스에 대한 기본값인지 여부를 표시합니다.

(다음에서 상속됨 Attribute)
IsNewContextOK(Context)

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

컨텍스트 속성이 새 컨텍스트와 호환되는지 여부를 나타내는 부울 값을 반환합니다.

Match(Object)

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

파생 클래스에서 재정의된 경우 이 인스턴스가 지정된 개체와 같은지 여부를 나타내는 값을 반환합니다.

(다음에서 상속됨 Attribute)
MemberwiseClone()

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

명시적 인터페이스 구현

_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

이름 집합을 해당하는 디스패치 식별자 집합에 매핑합니다.

(다음에서 상속됨 Attribute)
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

인터페이스의 형식 정보를 가져오는 데 사용할 수 있는 개체의 형식 정보를 검색합니다.

(다음에서 상속됨 Attribute)
_Attribute.GetTypeInfoCount(UInt32)

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

개체에서 제공하는 형식 정보 인터페이스의 수를 검색합니다(0 또는 1).

(다음에서 상속됨 Attribute)
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

개체에서 노출하는 메서드와 속성에 대한 액세스를 제공합니다.

(다음에서 상속됨 Attribute)

적용 대상