QualificationDataAttribute 클래스

정의

파이프라인 세그먼트에 대해 개발자가 지정한 데이터를 제공합니다.

public ref class QualificationDataAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true)]
public sealed class QualificationDataAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true)>]
type QualificationDataAttribute = class
    inherit Attribute
Public NotInheritable Class QualificationDataAttribute
Inherits Attribute
상속
QualificationDataAttribute
특성

예제

다음 예제에서는 추가 기능에 한정 데이터를 적용합니다.

// This pipeline segment has
// two attributes:
// 1 - An AddInAttribute to identify
//     this segment as an add-in.
//
// 2 - A QualificationDataAttribute to
//     indicate that the add-in should
//     be loaded into a new application domain.

    [AddIn("Calculator Add-in",Version="2.0.0.0")]
    [QualificationData("Isolation", "NewAppDomain")]
    public class SampleV2AddIn : Calculator2
    {
' This pipeline segment has
' two attributes:
' 1 - An AddInAttribute to identify
'     this segment as an add-in.
'
' 2 - A QualificationDataAttribute to
'     indicate that the add-in should
'     be loaded into a new application domain.

<AddIn("Calculator Add-in", Version:="2.0.0.0")> _
<QualificationData("Isolation", "NewAppDomain")> _
    Public Class SampleV2AddIn

설명

파이프라인 세그먼트에 목적을 위해 이름-값 문자열 쌍의 형태로 데이터를 할당 하려면이 특성을 사용할 수 있습니다. 예를 들어,를 추가 해야 로드할 외부 프로세스에 지정할 수 있습니다.

합니다 RebuildUpdate 가능한 파이프라인 세그먼트에 대 한 정보는 저장소 유지 관리 하는 메서드를 정규화 데이터에 있는 세그먼트를 식별 하려면이 특성을 사용 합니다.

파이프라인 세그먼트에 대 한 정규화 데이터에 액세스 하려면 참조는 QualificationData 속성입니다. 모든 파이프라인 세그먼트에 대 한 데이터를 열거 하려면 참조는 QualificationDataItem 클래스입니다.

정규화 데이터를 호스트 하 여만 읽고 다른 방식으로 추가 기능 시스템은 사용 되지 않습니다.

정규화 데이터 파이프라인 세그먼트에 배치 하 여 적용할 수 있습니다는 QualificationDataAttribute 세그먼트 특성 옆에 있는 특성입니다.

생성자

QualificationDataAttribute(String, String)

QualificationDataAttribute 클래스의 새 인스턴스를 초기화합니다.

속성

Name

키/값 쌍에서 키 역할을 하는 이름을 가져옵니다.

TypeId

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

(다음에서 상속됨 Attribute)
Value

키/값 쌍의 값을 가져옵니다.

메서드

Equals(Object)

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

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

이 인스턴스의 해시 코드를 반환합니다.

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

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

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

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

(다음에서 상속됨 Attribute)
Match(Object)

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

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

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

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

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

(다음에서 상속됨 Object)

명시적 인터페이스 구현

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

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

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

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

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

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

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

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

(다음에서 상속됨 Attribute)

적용 대상