TestimoX

API Reference

Class

LdapCorrelation

Namespace ADPlayground.LdapEngine
Assembly ADPlayground
Modifiers static

Ambient correlation for LDAP/DC diagnostics. Hosts (e.g., TestimoX) can set the current rule and domain so LdapDiagnostics events can be attributed.

Inheritance

  • Object
  • LdapCorrelation

Methods

public static IDisposable Enter(String ruleName, String domain, String taskId = null) #
Returns: IDisposable

Temporarily sets the current rule, domain, and optional task id for diagnostics, restoring previous values on dispose.

Parameters

ruleName System.String requiredposition: 0
Rule identifier or name.
domain System.String requiredposition: 1
DNS domain name.
taskId System.String = null optionalposition: 2
Optional task identifier for correlation.

Returns

An IDisposable that restores previous values when disposed.

Properties

public static String CurrentRule { get; } #

Current rule identifier set by the host for diagnostics.

public static String CurrentDomain { get; } #

Current domain associated with operations for diagnostics.

public static String CurrentTaskId { get; } #

Current task identifier associated with operations for diagnostics.