QualificationDataAttribute Class
Provides developer-specified data for a pipeline segment.
Assembly: System.AddIn.Contract (in System.AddIn.Contract.dll)
You can use this attribute to assign data, in the form of name-value string pairs, for any purpose to a pipeline segment. For example, you can indicate that an add-in should be loaded into an external process.
The Rebuild and Update methods, which maintain the store of information about available pipeline segments, use this attribute to identify a segment that has qualification data.
To access the qualification data for a pipeline segment, see the QualificationData property. To enumerate the data for all the pipeline segments, see the QualificationDataItem class.
Qualification data is only read by the host and is not consumed by the add-in system in any other way.
You can apply qualification data to a pipeline segment by placing a QualificationDataAttribute attribute next to the segment attribute. For more information about pipeline segments and their attributes, see Pipeline Development.
The following example applies qualification data to an add-in.
' 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
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.