Interface ITenantInvitationDeliveryRetryStore
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.MultiTenancy.Governance.Services
Assembly: Cephalon.MultiTenancy.Governance.dll
Stores tenant invitation delivery retry entries managed by the governance companion pack.
public interface ITenantInvitationDeliveryRetryStoreProperties
Section titled “Properties”Gets the number of retained retry entries.
int Count { get; }Property Value
Section titled “Property Value”Entries
Section titled “ Entries”Gets every retained retry entry.
IReadOnlyList<TenantInvitationDeliveryRetryDescriptor> Entries { get; }Property Value
Section titled “Property Value”IReadOnlyList<TenantInvitationDeliveryRetryDescriptor>
IsDurable
Section titled “ IsDurable”Gets a value indicating whether retry entries survive process restarts.
bool IsDurable { get; }Property Value
Section titled “Property Value”LatestEntry
Section titled “ LatestEntry”Gets the latest retained retry entry when one exists.
TenantInvitationDeliveryRetryDescriptor? LatestEntry { get; }Property Value
Section titled “Property Value”TenantInvitationDeliveryRetryDescriptor?
Ownership
Section titled “ Ownership”Gets the runtime ownership label for the retry queue.
string Ownership { get; }Property Value
Section titled “Property Value”StoreKind
Section titled “ StoreKind”Gets the storage kind used by the retry queue.
string StoreKind { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”GetById(string)
Section titled “ GetById(string)”Gets one retry entry by identifier.
TenantInvitationDeliveryRetryDescriptor? GetById(string retryId)Parameters
Section titled “Parameters”retryId string
The retry entry identifier.
Returns
Section titled “Returns”TenantInvitationDeliveryRetryDescriptor?
The matching retry entry, or null when none exists.
GetPending(DateTimeOffset, int, bool)
Section titled “ GetPending(DateTimeOffset, int, bool)”Gets retry entries that are pending and optionally due at or before the supplied timestamp.
IReadOnlyList<TenantInvitationDeliveryRetryDescriptor> GetPending(DateTimeOffset atUtc, int limit, bool dueOnly = true)Parameters
Section titled “Parameters”atUtc DateTimeOffset
The timestamp used to decide due entries.
limit int
The maximum number of entries to return.
dueOnly bool
A value indicating whether entries scheduled after atUtc should be skipped.
Returns
Section titled “Returns”IReadOnlyList<TenantInvitationDeliveryRetryDescriptor>
The matching pending retry entries.
Remove(string)
Section titled “ Remove(string)”Removes a retry entry.
bool Remove(string retryId)Parameters
Section titled “Parameters”retryId string
The retry entry identifier.
Returns
Section titled “Returns”true when an entry was removed; otherwise false.
Upsert(TenantInvitationDeliveryRetryDescriptor)
Section titled “ Upsert(TenantInvitationDeliveryRetryDescriptor)”Adds or replaces a retry entry.
void Upsert(TenantInvitationDeliveryRetryDescriptor entry)Parameters
Section titled “Parameters”entry TenantInvitationDeliveryRetryDescriptor
The retry entry to store.