API Reference
Class
ExecutionContext
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:
IDisposablePushes a token into the ambient context until the returned disposable is disposed.
Parameters
- token System.Threading.CancellationToken
Inherited Methods
Properties
public static CancellationToken CurrentToken { get; } #Current ambient cancellation token or None.