InstrumentationKind Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a kind of instrumentation to be applied in generated code.
public enum class InstrumentationKind
public enum InstrumentationKind
type InstrumentationKind =
Public Enum InstrumentationKind
- Inheritance
-
InstrumentationKind
Fields
Name | Value | Description |
---|---|---|
None | 0 | No instrumentation. |
TestCoverage | 1 | Instruments the code to add test coverage. |
StackOverflowProbing | 2 | Instruments all methods, local functions and lambdas in the code with calls to EnsureSufficientExecutionStack(), to guard against accidental stack overflow. |
ModuleCancellation | 3 | Instruments code with calls to ThrowIfCancellationRequested() on a module-level defined CancellationToken to enable cancellation of code that hasn't necessarily been written as cancellable. |