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 AuditHistoryQueryInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”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)Parameters
Section titled “Parameters”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.
Fields
Section titled “Fields”DefaultLimit
Section titled “ DefaultLimit”Gets the default number of entries returned by a query when the caller does not supply one.
public const int DefaultLimit = 50Field Value
Section titled “Field Value”MaxLimit
Section titled “ MaxLimit”Gets the maximum number of entries returned by one query.
public const int MaxLimit = 200Field Value
Section titled “Field Value”Properties
Section titled “Properties”Action
Section titled “ Action”Gets the optional logical action identifier filter.
public string? Action { get; }Property Value
Section titled “Property Value”ActorId
Section titled “ ActorId”Gets the optional stable actor identifier filter.
public string? ActorId { get; }Property Value
Section titled “Property Value”Category
Section titled “ Category”Gets the optional logical audit category filter.
public string? Category { get; }Property Value
Section titled “Property Value”CorrelationId
Section titled “ CorrelationId”Gets the optional correlation identifier filter.
public string? CorrelationId { get; }Property Value
Section titled “Property Value”Gets the requested page size after it has been normalized to the supported range.
public int Limit { get; }Property Value
Section titled “Property Value”OccurredFromUtc
Section titled “ OccurredFromUtc”Gets the optional inclusive lower occurrence bound.
public DateTimeOffset? OccurredFromUtc { get; }Property Value
Section titled “Property Value”OccurredToUtc
Section titled “ OccurredToUtc”Gets the optional inclusive upper occurrence bound.
public DateTimeOffset? OccurredToUtc { get; }Property Value
Section titled “Property Value”Offset
Section titled “ Offset”Gets the zero-based query offset.
public int Offset { get; }Property Value
Section titled “Property Value”Outcome
Section titled “ Outcome”Gets the optional audit-outcome filter.
public AuditOutcome? Outcome { get; }Property Value
Section titled “Property Value”SubjectId
Section titled “ SubjectId”Gets the optional stable subject identifier filter.
public string? SubjectId { get; }Property Value
Section titled “Property Value”SubjectType
Section titled “ SubjectType”Gets the optional logical subject-type filter.
public string? SubjectType { get; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets the optional tenant identifier filter.
public string? TenantId { get; }