Share via


RealProxy.GetUnwrappedServer 方法

定義

傳回目前 Proxy 執行個體所表示的伺服器物件。

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

傳回

目前 Proxy 執行個體所表示的伺服器物件。

屬性

例外狀況

目前的呼叫端沒有 UnmanagedCode 權限。

備註

方法GetUnwrappedServer用於涉及相同 AppDomain中外部Context的案例。

適用於