RealProxy.DetachServer Method

Definition

Detaches the current proxy instance from the remote server object that it represents.

protected:
 MarshalByRefObject ^ DetachServer();
protected MarshalByRefObject DetachServer ();
[System.Security.SecurityCritical]
protected MarshalByRefObject DetachServer ();
member this.DetachServer : unit -> MarshalByRefObject
[<System.Security.SecurityCritical>]
member this.DetachServer : unit -> MarshalByRefObject
Protected Function DetachServer () As MarshalByRefObject

Returns

The detached server object.

Attributes

Exceptions

The immediate caller does not have UnmanagedCode permission.

Applies to