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

参数

返回

Boolean

如果成功,则为 true;否则为 false

属性

注解

IContextPropertyActivator当构造请求到达服务器时,将对实现接口的每个服务器上下文属性调用当前方法。 这允许上下文属性检查每个的内容 IConstructionCallMessage

适用于