ContextAttribute.Freeze(Context) 方法

定義

在內容已凍結時呼叫。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 virtual void Freeze(System::Runtime::Remoting::Contexts::Context ^ newContext);
public virtual void Freeze (System.Runtime.Remoting.Contexts.Context newContext);
[System.Security.SecurityCritical]
public virtual void Freeze (System.Runtime.Remoting.Contexts.Context newContext);
abstract member Freeze : System.Runtime.Remoting.Contexts.Context -> unit
override this.Freeze : System.Runtime.Remoting.Contexts.Context -> unit
[<System.Security.SecurityCritical>]
abstract member Freeze : System.Runtime.Remoting.Contexts.Context -> unit
override this.Freeze : System.Runtime.Remoting.Contexts.Context -> unit
Public Overridable Sub Freeze (newContext As Context)

參數

newContext
Context

要凍結的內容。

實作

屬性

備註

內容屬性在內容凍結之後無法新增。

適用於