WithoutDependencyCollection()
Disables the mechanism of dependency collection in the current execution context.
Declaration
IDisposable WithoutDependencyCollection()Returns
| Type | Description |
|---|---|
| IDisposable | A cookie that must be restored to restore the execution context to its original state. |