IContextPropertyActivator.DeliverClientContextToServerContext 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当构造请求从服务器返回到客户端时,对具有此接口的每个客户端上下文属性调用。
此 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内容。