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

此托管类通常不在 XAMLXAML中使用。This managed class is not typically used in XAMLXAML.

构造函数

DocObjHost()

此类型或成员支持 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 基础结构,但不可直接在代码中使用。This type or member supports the Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

方法

CreateObjRef(Type)

创建一个对象,该对象包含生成用于与远程对象进行通信的代理所需的全部相关信息。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()

检索控制此实例的生存期策略的当前生存期服务对象。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)Windows Presentation Foundation (WPF) 基础结构,但不可直接在代码中使用。This type or member supports the Windows Presentation Foundation (WPF)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()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

显式接口实现

IServiceProvider.GetService(Type)

有关此成员的说明,请参阅 GetService(Type)For a description of this member, see GetService(Type).

适用于