ExtensionContractAttribute Class

Definition

Contains additional information about an extension part contract, specifically around wrapping type.

C#
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true)]
public class ExtensionContractAttribute : Attribute
Inheritance
ExtensionContractAttribute
Attributes

Constructors

ExtensionContractAttribute(Type, Type)

Initializes a new instance of the ExtensionContractAttribute class.

Properties

RpcContractType

Gets the RPC contract type this interface is intended for.

WrapperObjectType

Gets the wrapper object type.

Applies to

Product Versions
Visual Studio Extensibility Preview