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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.