TypeCodeOverrideAttribute Class

Definition

The TypeCodeOverrideAttribute attribute allows to specify the grain interface ID or the grain class type code to override the default ones to avoid hash collisions

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

Constructors

TypeCodeOverrideAttribute(Int32)

Properties

TypeCode

Use a specific grain interface ID or grain class type code (e.g. to avoid hash collisions)

Applies to