Düzenle

Aracılığıyla paylaş


DefaultInvokableBaseTypeAttribute Class

Definition

Applied to proxy base types and 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, AllowMultiple=true)]
public sealed class DefaultInvokableBaseTypeAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type DefaultInvokableBaseTypeAttribute = class
    inherit Attribute
Public NotInheritable Class DefaultInvokableBaseTypeAttribute
Inherits Attribute
Inheritance
DefaultInvokableBaseTypeAttribute
Attributes

Constructors

DefaultInvokableBaseTypeAttribute(Type, Type)

Initializes a new instance of the DefaultInvokableBaseTypeAttribute class.

Properties

InvokableBaseType

Gets the base type for the invokable object class which will be used to represent method calls to methods which this attribute applies to.

ProxyInvokeMethodName

Gets or sets the name of the method on the proxy object which is used to invoke this method.

ReturnType

Gets the return type of methods which this attribute applies to.

Applies to