API Reference
Class
LdapEvent
Captures a single LDAP diagnostic event (ban/skip/chosen/failover) with context for troubleshooting.
Inheritance
- Object
- LdapEvent
Constructors
public LdapEvent(DateTimeOffset at, LdapEventType type, String domain, String oldDc, String dc, String context, String reason, String baseDn, String filter, Nullable<Int32> resultCount, Nullable<Boolean> success, Nullable<Int32> attemptMs, String rule) #Creates a new LDAP diagnostic event.
Parameters
- at System.DateTimeOffset
- UTC timestamp of the event.
- type ADPlayground.LdapEngine.LdapEventType
- Event type (Ban/Skip/Failover/Chosen).
- domain System.String
- DNS domain associated with the query when available.
- oldDc System.String
- Previous DC (for failover events).
- dc System.String
- Chosen/affected domain controller.
- context System.String
- Source logical context (e.g., method/rule) when provided.
- reason System.String
- Optional reason string for the event.
- baseDn System.String
- Base DN for the LDAP operation when available.
- filter System.String
- LDAP filter used when available.
- resultCount System.Nullable{System.Int32}
- Number of results returned (for chosen events).
- success System.Nullable{System.Boolean}
- Success indicator for the attempt when applicable.
- attemptMs System.Nullable{System.Int32}
- Approximate attempt duration in milliseconds.
- rule System.String
- Current rule identifier, when set by correlation context.
Methods
Inherited Methods
Properties
public DateTimeOffset At { get; set; } #UTC timestamp of the event.
public LdapEventType Type { get; set; } #Event type (Ban/Skip/Failover/Chosen).
public String Domain { get; set; } #DNS domain associated with the query when available.
public String OldDc { get; set; } #Previous DC (for Failover events).
public String Dc { get; set; } #Chosen/affected domain controller.
public String Context { get; set; } #Source logical context (e.g., method/rule) when provided.
public String Reason { get; set; } #Optional reason string describing the event.
public String BaseDn { get; set; } #Base DN for the LDAP operation when available.
public String Filter { get; set; } #LDAP filter used when available.
public Nullable<Int32> ResultCount { get; set; } #Number of results returned (for chosen events).
public Nullable<Boolean> Success { get; set; } #Success indicator for the attempt when applicable.
public Nullable<Int32> AttemptMs { get; set; } #Approximate attempt duration in milliseconds.
public String Rule { get; set; } #Current rule identifier, when set by correlation context.