Edit

Share via


RealProxy.GetUnwrappedServer Method

Definition

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

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

Returns

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

Attributes

Exceptions

The immediate caller does not have UnmanagedCode permission.

Remarks

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

Applies to