GetUnwrappedServer Method

RealProxy::GetUnwrappedServer Method ()

 

Returns the server object that is represented by the current proxy instance.

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

protected:
[SecurityCriticalAttribute]
MarshalByRefObject^ GetUnwrappedServer()

Return Value

Type: System::MarshalByRefObject^

The server object that is represented by the current proxy instance.

Exception Condition
SecurityException

The immediate caller does not have UnmanagedCode permission.

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

SecurityPermission

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft