MethodIdAttribute Class
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.
Specifies the method id for the interface method which this attribute is declared on.
[System.AttributeUsage(System.AttributeTargets.Method)]
public sealed class MethodIdAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
type MethodIdAttribute = class
inherit Attribute
Public NotInheritable Class MethodIdAttribute
Inherits Attribute
- Inheritance
-
MethodIdAttribute
- Attributes
Method ids must be unique for all methods in a given interface. This attribute is only applicable for interface method declarations, not for method definitions on classes.
Method |
Specifies the method id for the interface method which this attribute is declared on. |
Method |
Gets the method id for the interface method this attribute is declared on. |
Продукт | Версии |
---|---|
.NET Orleans | 1.5.10, 3.4.5, 3.6.0 |