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