IContextPropertyActivator.DeliverClientContextToServerContext 方法

定義

在建構要求由伺服器返回用戶端時,呼叫具有此介面的每一個用戶端內容屬性。

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

public:
 bool DeliverClientContextToServerContext(System::Runtime::Remoting::Activation::IConstructionCallMessage ^ msg);
public bool DeliverClientContextToServerContext (System.Runtime.Remoting.Activation.IConstructionCallMessage msg);
[System.Security.SecurityCritical]
public bool DeliverClientContextToServerContext (System.Runtime.Remoting.Activation.IConstructionCallMessage msg);
abstract member DeliverClientContextToServerContext : System.Runtime.Remoting.Activation.IConstructionCallMessage -> bool
[<System.Security.SecurityCritical>]
abstract member DeliverClientContextToServerContext : System.Runtime.Remoting.Activation.IConstructionCallMessage -> bool
Public Function DeliverClientContextToServerContext (msg As IConstructionCallMessage) As Boolean

參數

傳回

如果成功即為 true;否則為 false

屬性

備註

在建構要求抵達伺服器時,會在每個伺服器內容屬性上呼叫目前的 方法,以實 IContextPropertyActivator 作 介面。 這可讓內容屬性檢查每個 IConstructionCallMessage 的內容。

適用於