ข้ามไปยังเนื้อหา

Class TenantAdministrationWorkflowResult

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

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

Describes the result of one tenant-administration workflow command.

public sealed class TenantAdministrationWorkflowResult

objectTenantAdministrationWorkflowResult

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

TenantAdministrationWorkflowResult(string, string, string, string?, string, bool, DateTimeOffset, string?, string?, TenantMembershipDescriptor?, TenantInvitationDescriptor?, string, IReadOnlyDictionary<string, string>?)

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

Creates a tenant-administration workflow command result.

public TenantAdministrationWorkflowResult(string tenantId, string command, string targetKind, string? targetId, string outcome, bool applied, DateTimeOffset occurredAtUtc, string? previousStatus, string? currentStatus, TenantMembershipDescriptor? membership, TenantInvitationDescriptor? invitation, string reason, IReadOnlyDictionary<string, string>? metadata = null)

tenantId string

The stable tenant identifier targeted by the command.

command string

The tenant-administration command that was requested.

targetKind string

The kind of target affected by the command.

targetId string?

The stable target identifier affected by the command.

outcome string

The tenant-administration command outcome.

applied bool

A value indicating whether the command was fully applied.

occurredAtUtc DateTimeOffset

The UTC timestamp when the command was evaluated.

previousStatus string?

The target status before the command when a target existed.

currentStatus string?

The target status after the command when a target exists.

membership TenantMembershipDescriptor?

The resulting membership descriptor when a membership command produced one.

invitation TenantInvitationDescriptor?

The resulting invitation descriptor when an invitation command produced one.

reason string

The operator-facing command result reason.

metadata IReadOnlyDictionary<string, string>?

Optional result metadata.

Gets a value indicating whether the command was fully applied.

public bool Applied { get; }

bool

Gets the tenant-administration command that was requested.

public string Command { get; }

string

Gets the target status after the command when a target exists.

public string? CurrentStatus { get; }

string?

Gets the resulting invitation descriptor when an invitation command produced one.

public TenantInvitationDescriptor? Invitation { get; }

TenantInvitationDescriptor?

Gets the resulting membership descriptor when a membership command produced one.

public TenantMembershipDescriptor? Membership { get; }

TenantMembershipDescriptor?

Gets optional result metadata.

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

IReadOnlyDictionary<string, string>

Gets the UTC timestamp when the command was evaluated.

public DateTimeOffset OccurredAtUtc { get; }

DateTimeOffset

Gets the tenant-administration command outcome.

public string Outcome { get; }

string

Gets the target status before the command when a target existed.

public string? PreviousStatus { get; }

string?

Gets the operator-facing command result reason.

public string Reason { get; }

string

Gets the stable target identifier affected by the command.

public string? TargetId { get; }

string?

Gets the kind of target affected by the command.

public string TargetKind { get; }

string

Gets the stable tenant identifier targeted by the command.

public string TenantId { get; }

string