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。