Interface IAuditResult
Represents the result portion of an audited activity, capturing the outcome of the action.
public interface IAuditResult
Properties
Exception
Gets exception details, if any, related to the activity.
string? Exception { get; init; }
Property Value
Request
Gets the request payload or details associated with the activity.
string Request { get; init; }
Property Value
- string
The request payload or details associated with the activity.
Response
Gets the response payload or details associated with the activity, if applicable.
string? Response { get; init; }
Property Value
StatusCode
Gets or sets the HTTP status code returned as a result of the activity.
int StatusCode { get; set; }
Property Value
- int
The HTTP status code returned as a result of the activity.