RealProxy.AttachServer(MarshalByRefObject) 方法

定义

将当前代理实例附加到指定的远程 MarshalByRefObject

protected:
 void AttachServer(MarshalByRefObject ^ s);
protected void AttachServer (MarshalByRefObject s);
[System.Security.SecurityCritical]
protected void AttachServer (MarshalByRefObject s);
member this.AttachServer : MarshalByRefObject -> unit
[<System.Security.SecurityCritical>]
member this.AttachServer : MarshalByRefObject -> unit
Protected Sub AttachServer (s As MarshalByRefObject)

参数

s
MarshalByRefObject

当前代理实例所表示的 MarshalByRefObject

属性

例外

直接调用方没有 UnmanagedCode 权限。

适用于