語言

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的內容。

適用於