Context::Freeze Method ()
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Freezes the context, making it impossible to add or remove context properties from the current context.
Assembly: mscorlib (in mscorlib.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | The context is already frozen. |
Context properties cannot be added after the context has been frozen.
.NET Framework
Available since 1.1
Available since 1.1
Show: