This documentation is archived and is not being maintained.

RealProxy.GetUnwrappedServer Method

Returns the server object represented by the current proxy instance.

[Visual Basic]
Protected Function GetUnwrappedServer() As MarshalByRefObject
protected MarshalByRefObject GetUnwrappedServer();
protected: MarshalByRefObject* GetUnwrappedServer();
protected function GetUnwrappedServer() : MarshalByRefObject;

Return Value

The server object represented by the current proxy instance.


Exception Type Condition
SecurityException The immediate caller does not have UnmanagedCode permission.


The GetUnwrappedServer method is used in external Context same AppDomain scenarios.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

RealProxy Class | RealProxy Members | System.Runtime.Remoting.Proxies Namespace