Edit

Share via


MethodIdAttribute(Int32) Constructor

Definition

Specifies the method id for the interface method which this attribute is declared on.

public MethodIdAttribute (int methodId);
new Orleans.CodeGeneration.MethodIdAttribute : int -> Orleans.CodeGeneration.MethodIdAttribute
Public Sub New (methodId As Integer)

Parameters

methodId
Int32

The method id.

Remarks

Method ids must be unique for all methods in a given interface. This attribute is only valid only on interface method declarations, not on method definitions.

Applies to