Skip to content

Class TenantInvitationDeliveryResult

Namespace: Cephalon.MultiTenancy.Governance.Services
Assembly: Cephalon.MultiTenancy.Governance.dll

Describes the result of tenant invitation delivery dispatch.

public sealed class TenantInvitationDeliveryResult

objectTenantInvitationDeliveryResult

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

TenantInvitationDeliveryResult(string, string, string, bool, bool, DateTimeOffset, string?, string?, string?, TenantInvitationDescriptor?, string, IReadOnlyDictionary<string, string>?)

Section titled “ TenantInvitationDeliveryResult(string, string, string, bool, bool, DateTimeOffset, string?, string?, string?, TenantInvitationDescriptor?, string, IReadOnlyDictionary<string, string>?)”

Creates a tenant invitation delivery dispatch result.

public TenantInvitationDeliveryResult(string tenantId, string invitationId, string outcome, bool dispatched, bool recorded, DateTimeOffset dispatchedAtUtc, string? channel, string? senderId, string? providerMessageId, TenantInvitationDescriptor? invitation, string reason, IReadOnlyDictionary<string, string>? metadata = null)

tenantId string

The tenant identifier that was evaluated.

invitationId string

The invitation identifier that was evaluated.

outcome string

The stable delivery dispatch outcome.

dispatched bool

A value indicating whether a sender accepted the dispatch.

recorded bool

A value indicating whether delivery outcome metadata was recorded.

dispatchedAtUtc DateTimeOffset

The UTC timestamp used for dispatch.

channel string?

The delivery channel used by the dispatch attempt.

senderId string?

The delivery sender identifier used by the dispatch attempt.

providerMessageId string?

The provider message identifier returned by the sender.

invitation TenantInvitationDescriptor?

The resulting invitation descriptor when one exists.

reason string

The operator-facing delivery dispatch reason.

metadata IReadOnlyDictionary<string, string>?

Optional result metadata.

Gets the delivery channel used by the dispatch attempt.

public string? Channel { get; }

string?

Gets a value indicating whether a sender accepted the dispatch.

public bool Dispatched { get; }

bool

Gets the UTC timestamp used for dispatch.

public DateTimeOffset DispatchedAtUtc { get; }

DateTimeOffset

Gets the resulting invitation descriptor when one exists.

public TenantInvitationDescriptor? Invitation { get; }

TenantInvitationDescriptor?

Gets the invitation identifier that was evaluated.

public string InvitationId { get; }

string

Gets optional result metadata.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the stable delivery dispatch outcome.

public string Outcome { get; }

string

Gets the provider message identifier returned by the sender.

public string? ProviderMessageId { get; }

string?

Gets the operator-facing delivery dispatch reason.

public string Reason { get; }

string

Gets a value indicating whether delivery outcome metadata was recorded.

public bool Recorded { get; }

bool

Gets the delivery sender identifier used by the dispatch attempt.

public string? SenderId { get; }

string?

Gets the tenant identifier that was evaluated.

public string TenantId { get; }

string