Show / Hide Table of Contents

Class AuditItem

An audit item

Inheritance
System.Object
AuditItem
Namespace: AzureFromTheTrenches.Commanding.Abstractions.Model
Assembly: AzureFromTheTrenches.Commanding.Abstractions.dll
Syntax
public class AuditItem : object

Fields

| Improve this Doc View Source

ExecutionType

The type used to identify post execution audit items

Declaration
public const string ExecutionType = null
Field Value
Type Description
System.String
| Improve this Doc View Source

PostDispatchType

The code used to identify post dispatch audit items

Declaration
public const string PostDispatchType = null
Field Value
Type Description
System.String
| Improve this Doc View Source

PreDispatchType

The code used to identify pre dispatch audit items

Declaration
public const string PreDispatchType = null
Field Value
Type Description
System.String

Properties

| Improve this Doc View Source

AdditionalProperties

Any additional properties set by enrichers

Declaration
public Dictionary<string, string> AdditionalProperties { get; set; }
Property Value
Type Description
Dictionary<System.String, System.String>
| Improve this Doc View Source

CommandId

The ID of the command

Declaration
public string CommandId { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

CommandType

The short type name of the command

Declaration
public string CommandType { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

CommandTypeFullName

The full type name of the command

Declaration
public string CommandTypeFullName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

CorrelationId

Correlation ID from the command dispatch context

Declaration
public string CorrelationId { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Depth

The depth of the command from the dispatch context

Declaration
public int Depth { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

DispatchedUtc

The date and time the command was dispatched

Declaration
public DateTime DispatchedUtc { get; set; }
Property Value
Type Description
DateTime
| Improve this Doc View Source

DispatchTimeMs

The time taken to dispatch the command (will be null in execution audit items or if metrics are disabled)

Declaration
public long? DispatchTimeMs { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>
| Improve this Doc View Source

ExecutedSuccessfully

Was the command executed successfully - will be null in the dispatch stages

Declaration
public bool? ExecutedSuccessfully { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

ExecutionTimeMs

The time taken to execute the command (will be null in dispatch audit items or if metrics are disabled)

Declaration
public long? ExecutionTimeMs { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>
| Improve this Doc View Source

SerializedCommand

A serialized version of the command

Declaration
public string SerializedCommand { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Type

The type of the audit item (pre-dispatch, post-dispatch, execution)

Declaration
public string Type { get; set; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
  • 0 Comments
Back to top Copyright © 2018 James Randall