RealProxy.DetachServer Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Runtime.Remoting.Proxies
Assembly:  mscorlib (in mscorlib.dll)

protected MarshalByRefObject DetachServer()

Return Value

Type: System.MarshalByRefObject

The detached server object.

Exception Condition

The immediate caller does not have UnmanagedCode permission.


For the ability to call unmanaged code. Demand value: SecurityAction.LinkDemand; Permission value: SecurityPermissionFlag.UnmanagedCode

.NET Framework
Available since 1.1
Return to top