ActivationId Struct
Definition
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.
Uniquely identifies a grain activation.
[Orleans.GenerateSerializer]
[Orleans.Immutable]
[System.Text.Json.Serialization.JsonConverter(typeof(Orleans.Runtime.ActivationIdConverter))]
[System.Serializable]
public readonly struct ActivationId : IEquatable<Orleans.Runtime.ActivationId>, ISpanFormattable
[<Orleans.GenerateSerializer>]
[<Orleans.Immutable>]
[<System.Text.Json.Serialization.JsonConverter(typeof(Orleans.Runtime.ActivationIdConverter))>]
[<System.Serializable>]
type ActivationId = struct
interface ISpanFormattable
interface IFormattable
Public Structure ActivationId
Implements IEquatable(Of ActivationId), ISpanFormattable
- Inheritance
-
ActivationId
- Attributes
- Implements
Constructors
ActivationId(Guid) |
Initializes a new instance of the ActivationId struct. |
Properties
IsDefault |
Gets a value indicating whether the instance is the default instance. |
Methods
Equals(ActivationId) | Indicates whether the current object is equal to another object of the same type. |
Equals(Object) | Indicates whether this instance and a specified object are equal. |
FromParsableString(String) |
Parses a string representation of an activation id which was created using ToParsableString(). |
GetDeterministic(GrainId) |
Returns an activation id which has been computed deterministically and reproducibly from the provided grain id. |
GetHashCode() | Returns the hash code for this instance. |
NewId() |
Returns a new, random activation id. |
ToParsableString() |
Returns a string representation of this activation id which can be parsed by FromParsableString(String). |
ToString() | Returns the fully qualified type name of this instance. |
Operators
Equality(ActivationId, ActivationId) |
Compares the provided operands for equality. |
Inequality(ActivationId, ActivationId) |
Compares the provided operands for inequality. |
Explicit Interface Implementations
IFormattable.ToString(String, IFormatProvider) | |
ISpanFormattable.TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider) |