Share via


RealProxy.AttachServer(MarshalByRefObject) Méthode

Définition

Attache l'instance de proxy en cours au MarshalByRefObject distant spécifié.

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)

Paramètres

s
MarshalByRefObject

MarshalByRefObject que l'instance de proxy en cours représente.

Attributs

Exceptions

L’appelant immédiat n’a pas d’autorisation UnmanagedCode.

S’applique à