DocObjHost 類別

定義

這個類型或成員支援 Windows Presentation Foundation (WPF) 基礎結構,而且不能從程式碼直接使用。This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

public ref class DocObjHost sealed : MarshalByRefObject, IServiceProvider
public sealed class DocObjHost : MarshalByRefObject, IServiceProvider
type DocObjHost = class
    inherit MarshalByRefObject
    interface IServiceProvider
Public NotInheritable Class DocObjHost
Inherits MarshalByRefObject
Implements IServiceProvider
繼承
實作

備註

XAML 文字使用方式XAML Text Usage

這個 Managed 類別通常不會用於 XAML。This managed class is not typically used in XAML.

建構函式

DocObjHost()

這個類型或成員支援 Windows Presentation Foundation (WPF) 基礎結構,而且不能從程式碼直接使用。This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

方法

CreateObjRef(Type)

建立包含所有相關資訊的物件,這些資訊是產生用來與遠端物件通訊的所需 Proxy。Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(繼承來源 MarshalByRefObject)
Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetLifetimeService()
已過時。

擷取控制這個執行個體存留期 (Lifetime) 原則的目前存留期服務物件。Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(繼承來源 MarshalByRefObject)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
InitializeLifetimeService()

這個類型或成員支援 Windows Presentation Foundation (WPF) 基礎結構,而且不能從程式碼直接使用。This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
MemberwiseClone(Boolean)

建立目前 MarshalByRefObject 物件的淺層複本。Creates a shallow copy of the current MarshalByRefObject object.

(繼承來源 MarshalByRefObject)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

明確介面實作

IServiceProvider.GetService(Type)

如需這個成員的說明,請參閱 GetService(Type)For a description of this member, see GetService(Type).

適用於