ParticipantId
struct
Namespace: Orleans.Transactions
Identifies a transaction participant and the protocol roles which it supports.
[Orleans.GenerateSerializer][Orleans.Immutable]public readonly struct ParticipantId : IEquatable<ParticipantId>Constructors
ParticipantId(string, GrainReference, Role)Initializes a new transaction participant identifier.
Properties
NameGets the name which identifies the participant's transactional resource within its grain.ReferenceGets the reference to the grain which hosts the participant.SupportedRolesGets the protocol roles which the participant supports.
Methods
Equals(ParticipantId)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.GetHashCodeReturns the hash code for this instance.ToStringReturns a diagnostic representation of this participant.operator ==(ParticipantId, ParticipantId)Determines whether two transaction participant identifiers and their supported roles are equal.operator !=(ParticipantId, ParticipantId)Determines whether two transaction participant identifiers or their supported roles are unequal.
Fields
ComparerGets a comparer which identifies participants byParticipantIdandParticipantId, independently of their supported roles.
