Docs
Tenantry ProAPI reference

TenantDeprovisioningResult<TKey> class

Namespace: Tenantry.Pro · Package: Tenantry.Pro · API reference

The outcome of offboarding a tenant: a result for each deprovisioning step, in the order they ran.

public sealed record TenantDeprovisioningResult<TKey> : IEquatable<TenantDeprovisioningResult<TKey>>

Type parameters

  • TKey: The tenant identifier type.

Implements IEquatable<TenantDeprovisioningResult<TKey>>.

Properties

Duration

How long the steps took.

public TimeSpan Duration { get; init; }

Value: TimeSpan

Error

The failed step's exception, or null when none failed.

public Exception? Error { get; }

Value: Exception

Steps

Each step's outcome, as provisioning reports its steps.

public required IReadOnlyList<TenantLifecycleStepResult> Steps { get; init; }

Value: IReadOnlyList<TenantLifecycleStepResult>

Succeeded

Whether no step failed. Remove the tenant from the store only then.

public bool Succeeded { get; }

Value: bool

TenantId

The tenant offboarded.

public required TKey TenantId { get; init; }

Value: TKey

On this page