AddInAdapterAttribute Class

Identifies an object as an add-in-side adapter segment of the pipeline.

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

[AttributeUsageAttribute(AttributeTargets.Class)]
public sealed class AddInAdapterAttribute : Attribute

The Rebuild and Update methods, which maintain the store of information about available pipeline segments, use this attribute to identify an add-in-side adapter.

This attribute should be used only on types that activate the segments of the pipeline. Types that represent objects passed between the host and the add-in do not need this attribute.

The following example identifies an add-in-side adapter.

// The AddInAdapterAttribute identifes this class as the add-in-side adapter 
// pipeline segment.
[AddInAdapter()]
public class CalculatorViewToContractAddInSideAdapter :
	ContractBase, ICalc1Contract 
{

System.Object
  System.Attribute
    System.AddIn.Pipeline.AddInAdapterAttribute

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft