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
[C#]
protected MarshalByRefObject GetUnwrappedServer();
[C++]
protected: MarshalByRefObject* GetUnwrappedServer();
[JScript]
protected function GetUnwrappedServer() : MarshalByRefObject;

Return Value

The server object represented by the current proxy instance.

Exceptions

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

Remarks

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

Requirements

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

Show: