System.Runtime.Remoting.Contexts.Context.Freeze Method

Freezes the context, making it impossible to add or remove context properties from the current context.

Syntax

public virtual void Freeze ()

Remarks

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

Requirements

Namespace: System.Runtime.Remoting.Contexts
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0