Note

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

Access to this page requires authorization. You can try .

AliasAttribute 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.

When applied to a type or method, specifies a well-known name which can be used to identify that type or method.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Struct, AllowMultiple=true)]
public sealed class AliasAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Struct)]
public sealed class AliasAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Struct, AllowMultiple=true)>]
type AliasAttribute = class
 inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Struct)>]
type AliasAttribute = class
 inherit Attribute
Public NotInheritable Class AliasAttribute
Inherits Attribute
Inheritance
AliasAttribute
Attributes

Remarks

In the case of a type, the alias must be globally unique. In the case of a method, the alias must be unique to the declaring type.

Constructors

Name Description
AliasAttribute(String)

Initializes a new instance of the AliasAttribute class.

Properties

Name Description
Alias

Gets the alias.

Applies to

See also