Context::Freeze Method ()


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.

Namespace:   System.Runtime.Remoting.Contexts
Assembly:  mscorlib (in mscorlib.dll)

virtual void Freeze()

Exception Condition

The context is already frozen.

Context properties cannot be added after the context has been frozen.

.NET Framework
Available since 1.1
Return to top