DeactivationReason
struct
Namespace: Orleans
Represents a reason for initiating grain deactivation.
public readonly struct DeactivationReason : IEquatable<DeactivationReason>Constructors
DeactivationReason(DeactivationReasonCode, Exception?, string)Initializes a new instance of theDeactivationReasonstruct.DeactivationReason(DeactivationReasonCode, string)Initializes a new instance of theDeactivationReasonstruct.
Properties
DescriptionGets the descriptive reason for the deactivation.ExceptionGets the exception which resulted in deactivation.ReasonCodeGets the reason for deactivation.
Methods
Equals(DeactivationReason)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 the fully qualified type name of this instance.operator ==(DeactivationReason, DeactivationReason)Determines whether two deactivation reasons are equal.operator !=(DeactivationReason, DeactivationReason)Determines whether two deactivation reasons are unequal.
