DefaultInvokeMethodNameAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 DefaultInvokeMethodNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type DefaultInvokeMethodNameAttribute = class
inherit Attribute
Public NotInheritable Class DefaultInvokeMethodNameAttribute
Inherits Attribute
- Inheritance
-
DefaultInvokeMethodNameAttribute
- Attributes
Constructors
DefaultInvokeMethodNameAttribute(Type, String) |
Initializes a new instance of the DefaultInvokeMethodNameAttribute class. |
Properties
MethodName |
Gets the name of the method on the proxy base type to call when methods are invoked. |
ReturnType |
Gets the interface method return type which this attribute applies to. |