Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IdAttribute Class

Definition

Namespace:
Orleans
Assembly:
Orleans.Serialization.Abstractions.dll
Package:
Microsoft.Orleans.Serialization.Abstractions v10.0.0
Package:
Microsoft.Orleans.Serialization.Abstractions v7.2.5
Package:
Microsoft.Orleans.Serialization.Abstractions v8.0.0
Package:
Microsoft.Orleans.Serialization.Abstractions v8.1.0
Package:
Microsoft.Orleans.Serialization.Abstractions v8.2.0
Package:
Microsoft.Orleans.Serialization.Abstractions v9.0.0
Package:
Microsoft.Orleans.Serialization.Abstractions v9.1.2
Source:
Annotations.cs
Source:
Annotations.cs
Source:
Annotations.cs
Source:
Annotations.cs
Source:
Annotations.cs
Source:
Annotations.cs
Source:
Annotations.cs

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 unique identity of a member.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Struct)]
public sealed class IdAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Struct)>]
type IdAttribute = class
 inherit Attribute
Public NotInheritable Class IdAttribute
Inherits Attribute
Inheritance
IdAttribute
Attributes

Remarks

Every serializable member in a type which has GenerateSerializerAttribute applied to it must have one IdAttribute attribute applied with a unique Id value.

Constructors

Name Description
IdAttribute(UInt32)

Initializes a new instance of the IdAttribute class.

Properties

Name Description
Id

Gets the identifier.

Applies to

See also