편집

다음을 통해 공유


RealProxy.AttachServer(MarshalByRefObject) Method

Definition

Attaches the current proxy instance to the specified remote 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)

Parameters

s
MarshalByRefObject

The MarshalByRefObject that the current proxy instance represents.

Attributes

Exceptions

The immediate caller does not have UnmanagedCode permission.

Applies to