TestimoX

API Reference

Class

ExecutionContext

Namespace ADPlayground
Assembly ADPlayground
Modifiers static

Ambient execution context for ADPlayground operations. Hosts (e.g., TestimoX) can set a CancellationToken for the duration of a rule so that deep LDAP/member resolvers honor cancellations and budgets instead of running to completion.

Inheritance

  • Object
  • ExecutionContext

Methods

public static IDisposable Enter(CancellationToken token) #
Returns: IDisposable

Pushes a token into the ambient context until the returned disposable is disposed.

Parameters

token System.Threading.CancellationToken requiredposition: 0

Properties

public static CancellationToken CurrentToken { get; } #

Current ambient cancellation token or None.