Freeze the context. Context properties cannot be added after the context has been frozen.
[Visual Basic] Overridable Public Sub Freeze() [C#] public virtual void Freeze(); [C++] public: virtual void Freeze(); [JScript] public function Freeze();
Exception Type | Condition |
---|---|
InvalidOperationException | is thrown if the context is already frozen |
Context Class | Context Members | System.Runtime.Remoting Namespace