Share via


ExtensionContractAttribute Class

Definition

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

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true)]
public class ExtensionContractAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true)>]
type ExtensionContractAttribute = class
    inherit Attribute
Public Class ExtensionContractAttribute
Inherits 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