語言

IContextPropertyActivator.DeliverServerContextToClientContext 方法

定義

在每個擁有此介面的用戶端上下文屬性上呼叫,當建構請求從伺服器返回用戶端時。

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

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

參數

傳回

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

屬性

備註

上下文屬性可以檢視 IConstructionReturnMessage。

適用於