This documentation is archived and is not being maintained.

QualificationDataItem Structure

Represents information supplied by the developer of a pipeline segment, for use by the host.

Namespace:  System.AddIn.Hosting
Assembly:  System.AddIn (in System.AddIn.dll)

public struct QualificationDataItem

Each item of qualification data consists of a name/value pair that was applied to a pipeline segment by using the QualificationDataAttribute attribute, to provide information that qualifies the use of the segment (for example, the recommended isolation level for the segment). The QualificationDataItem structure contains one name/value pair and the type of pipeline segment it was applied to.

Use the AddInToken.QualificationData property to get a nested set of dictionaries that contains QualificationDataItem structures for the pipeline segments associated with an AddInToken.

Alternatively, use the AddInToken.GetEnumerator method to get an enumerator for the QualificationDataItem structures of the pipeline segments associated with a token, or simply use a foreach statement (For Each in Visual Basic, for each in Visual C++) to treat the token as if it were a collection of QualificationDataItem structures.

The following example lists the qualification data for the pipeline segments associated with each AddInToken in a collection of tokens.

// Show the qualification data for each 
// token in an AddInToken collection. 
foreach (AddInToken token in tokens)
    foreach (QualificationDataItem qdi in token)
        Console.WriteLine("{0} {1}\n\t QD Name: {2}, QD Value: {3}",

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.5