Class TenantInvitationDeliveryRetryDescriptor
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.MultiTenancy.Governance.Services
Assembly: Cephalon.MultiTenancy.Governance.dll
Describes one queued tenant invitation delivery retry entry.
public sealed class TenantInvitationDeliveryRetryDescriptorInheritance
Section titled “Inheritance”object ← TenantInvitationDeliveryRetryDescriptor
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”TenantInvitationDeliveryRetryDescriptor(string, string, string, string?, string?, string?, string?, string?, bool, string, int, int, DateTimeOffset, DateTimeOffset, DateTimeOffset?, string?, string?, IReadOnlyDictionary<string, string>?)
Section titled “ TenantInvitationDeliveryRetryDescriptor(string, string, string, string?, string?, string?, string?, string?, bool, string, int, int, DateTimeOffset, DateTimeOffset, DateTimeOffset?, string?, string?, IReadOnlyDictionary<string, string>?)”Creates a tenant invitation delivery retry descriptor.
public TenantInvitationDeliveryRetryDescriptor(string retryId, string tenantId, string invitationId, string? channel, string? senderId, string? source, string? actor, string? correlationId, bool recordDelivery, string status, int attemptCount, int maxAttempts, DateTimeOffset createdAtUtc, DateTimeOffset nextAttemptAtUtc, DateTimeOffset? lastAttemptAtUtc, string? lastOutcome, string? lastReason, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”retryId string
The stable retry entry identifier.
tenantId string
The tenant identifier that owns the invitation.
invitationId string
The invitation identifier to retry.
channel string?
The delivery channel to retry.
senderId string?
The sender identifier to retry when specified.
source string?
The source recorded on the next retry attempt.
actor string?
The actor recorded on the next retry attempt.
correlationId string?
The correlation identifier retained for retry attempts.
recordDelivery bool
A value indicating whether retry attempts should record delivery metadata.
status string
The retry entry status.
attemptCount int
The number of dispatch attempts represented by this entry, including the original failed attempt.
maxAttempts int
The maximum number of dispatch attempts allowed for this entry.
createdAtUtc DateTimeOffset
The UTC timestamp when the retry entry was created.
nextAttemptAtUtc DateTimeOffset
The UTC timestamp when the next attempt is due.
lastAttemptAtUtc DateTimeOffset?
The UTC timestamp of the latest dispatch attempt.
lastOutcome string?
The latest delivery dispatch outcome.
lastReason string?
The latest delivery dispatch reason.
metadata IReadOnlyDictionary<string, string>?
Optional retry metadata.
Properties
Section titled “Properties”Gets the actor recorded on retry attempts.
public string? Actor { get; }Property Value
Section titled “Property Value”AttemptCount
Section titled “ AttemptCount”Gets the number of dispatch attempts represented by this entry.
public int AttemptCount { get; }Property Value
Section titled “Property Value”Channel
Section titled “ Channel”Gets the delivery channel to retry.
public string Channel { get; }Property Value
Section titled “Property Value”CorrelationId
Section titled “ CorrelationId”Gets the correlation identifier retained for retry attempts.
public string? CorrelationId { get; }Property Value
Section titled “Property Value”CreatedAtUtc
Section titled “ CreatedAtUtc”Gets the UTC timestamp when the retry entry was created.
public DateTimeOffset CreatedAtUtc { get; }Property Value
Section titled “Property Value”InvitationId
Section titled “ InvitationId”Gets the invitation identifier to retry.
public string InvitationId { get; }Property Value
Section titled “Property Value”LastAttemptAtUtc
Section titled “ LastAttemptAtUtc”Gets the UTC timestamp of the latest dispatch attempt.
public DateTimeOffset? LastAttemptAtUtc { get; }Property Value
Section titled “Property Value”LastOutcome
Section titled “ LastOutcome”Gets the latest delivery dispatch outcome.
public string? LastOutcome { get; }Property Value
Section titled “Property Value”LastReason
Section titled “ LastReason”Gets the latest delivery dispatch reason.
public string? LastReason { get; }Property Value
Section titled “Property Value”MaxAttempts
Section titled “ MaxAttempts”Gets the maximum number of dispatch attempts allowed for this entry.
public int MaxAttempts { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets optional retry metadata.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
NextAttemptAtUtc
Section titled “ NextAttemptAtUtc”Gets the UTC timestamp when the next attempt is due.
public DateTimeOffset NextAttemptAtUtc { get; }Property Value
Section titled “Property Value”RecordDelivery
Section titled “ RecordDelivery”Gets a value indicating whether retry attempts should record delivery metadata.
public bool RecordDelivery { get; }Property Value
Section titled “Property Value”RetryId
Section titled “ RetryId”Gets the stable retry entry identifier.
public string RetryId { get; }Property Value
Section titled “Property Value”SenderId
Section titled “ SenderId”Gets the sender identifier to retry when specified.
public string? SenderId { get; }Property Value
Section titled “Property Value”Source
Section titled “ Source”Gets the source recorded on retry attempts.
public string? Source { get; }Property Value
Section titled “Property Value”Status
Section titled “ Status”Gets the retry entry status.
public string Status { get; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets the tenant identifier that owns the invitation.
public string TenantId { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”WithRetryState(string, int, DateTimeOffset, DateTimeOffset?, string?, string?, IReadOnlyDictionary<string, string>?)
Section titled “ WithRetryState(string, int, DateTimeOffset, DateTimeOffset?, string?, string?, IReadOnlyDictionary<string, string>?)”Creates a copy of this retry entry with updated retry state.
public TenantInvitationDeliveryRetryDescriptor WithRetryState(string status, int attemptCount, DateTimeOffset nextAttemptAtUtc, DateTimeOffset? lastAttemptAtUtc, string? lastOutcome, string? lastReason, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”status string
The updated status.
attemptCount int
The updated attempt count.
nextAttemptAtUtc DateTimeOffset
The updated next-attempt timestamp.
lastAttemptAtUtc DateTimeOffset?
The updated last-attempt timestamp.
lastOutcome string?
The updated latest outcome.
lastReason string?
The updated latest reason.
metadata IReadOnlyDictionary<string, string>?
The updated metadata.
Returns
Section titled “Returns”TenantInvitationDeliveryRetryDescriptor
The updated retry descriptor.