RealProxy.AttachServer(MarshalByRefObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The MarshalByRefObject that the current proxy instance represents.
- Attributes
Exceptions
The immediate caller does not have UnmanagedCode permission.
Applies to
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.