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

Class AuditHistoryQuery

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

Namespace: Cephalon.Abstractions.Audit
Assembly: Cephalon.Abstractions.dll

Describes a host-agnostic audit-history query against the active audit-history reader.

public sealed class AuditHistoryQuery

objectAuditHistoryQuery

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

AuditHistoryQuery(string?, string?, string?, string?, string?, string?, string?, AuditOutcome?, DateTimeOffset?, DateTimeOffset?, int, int)

Section titled “ AuditHistoryQuery(string?, string?, string?, string?, string?, string?, string?, AuditOutcome?, DateTimeOffset?, DateTimeOffset?, int, int)”

Creates a new audit-history query.

public AuditHistoryQuery(string? category = null, string? action = null, string? subjectType = null, string? subjectId = null, string? actorId = null, string? tenantId = null, string? correlationId = null, AuditOutcome? outcome = null, DateTimeOffset? occurredFromUtc = null, DateTimeOffset? occurredToUtc = null, int offset = 0, int limit = 50)

category string?

An optional logical audit category filter.

action string?

An optional logical action identifier filter.

subjectType string?

An optional logical subject-type filter.

subjectId string?

An optional stable subject identifier filter.

actorId string?

An optional stable actor identifier filter.

tenantId string?

An optional tenant identifier filter.

correlationId string?

An optional correlation identifier filter.

outcome AuditOutcome?

An optional audit-outcome filter.

occurredFromUtc DateTimeOffset?

An optional inclusive lower occurrence bound.

occurredToUtc DateTimeOffset?

An optional inclusive upper occurrence bound.

offset int

The zero-based query offset.

limit int

The requested page size, clamped to the supported range.

Gets the default number of entries returned by a query when the caller does not supply one.

public const int DefaultLimit = 50

int

Gets the maximum number of entries returned by one query.

public const int MaxLimit = 200

int

Gets the optional logical action identifier filter.

public string? Action { get; }

string?

Gets the optional stable actor identifier filter.

public string? ActorId { get; }

string?

Gets the optional logical audit category filter.

public string? Category { get; }

string?

Gets the optional correlation identifier filter.

public string? CorrelationId { get; }

string?

Gets the requested page size after it has been normalized to the supported range.

public int Limit { get; }

int

Gets the optional inclusive lower occurrence bound.

public DateTimeOffset? OccurredFromUtc { get; }

DateTimeOffset?

Gets the optional inclusive upper occurrence bound.

public DateTimeOffset? OccurredToUtc { get; }

DateTimeOffset?

Gets the zero-based query offset.

public int Offset { get; }

int

Gets the optional audit-outcome filter.

public AuditOutcome? Outcome { get; }

AuditOutcome?

Gets the optional stable subject identifier filter.

public string? SubjectId { get; }

string?

Gets the optional logical subject-type filter.

public string? SubjectType { get; }

string?

Gets the optional tenant identifier filter.

public string? TenantId { get; }

string?