Edit

Share via


InvokableBaseTypeAttribute Class

Definition

Applied to attribute types used on invokable interface methods to specify the base type for the invokable object which represents a method call.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true)]
public sealed class InvokableBaseTypeAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true)>]
type InvokableBaseTypeAttribute = class
    inherit Attribute
Public NotInheritable Class InvokableBaseTypeAttribute
Inherits Attribute
Inheritance
InvokableBaseTypeAttribute
Attributes

Constructors

InvokableBaseTypeAttribute(Type, Type, Type)

Initializes a new instance of the InvokableBaseTypeAttribute class.

Properties

InvokableBaseType

Gets the base type to use for the generated invokable object.

ProxyBaseClass

Gets the proxy base class which this attribute applies to.

ProxyInvokeMethodName

Gets or sets the name of the method on the proxy object to invoke when this method is called.

ReturnType

Gets the method return type which this attribute applies to.

Applies to