StandardOleMarshalObject 类

定义

用标准 OLE STA 封送拆收器替换标准公共语言运行时 (CLR) 自由线程封送拆收器。

public ref class StandardOleMarshalObject : MarshalByRefObject
public class StandardOleMarshalObject : MarshalByRefObject
[System.Runtime.InteropServices.ComVisible(true)]
public class StandardOleMarshalObject : MarshalByRefObject
[System.Runtime.InteropServices.ComVisible(true)]
[System.MonoLimitation("The runtime does nothing special apart from what it already does with marshal-by-ref objects")]
public class StandardOleMarshalObject : MarshalByRefObject
type StandardOleMarshalObject = class
    inherit MarshalByRefObject
[<System.Runtime.InteropServices.ComVisible(true)>]
type StandardOleMarshalObject = class
    inherit MarshalByRefObject
    interface UnsafeNativeMethods.IMarshal
[<System.Runtime.InteropServices.ComVisible(true)>]
type StandardOleMarshalObject = class
    inherit MarshalByRefObject
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.MonoLimitation("The runtime does nothing special apart from what it already does with marshal-by-ref objects")>]
type StandardOleMarshalObject = class
    inherit MarshalByRefObject
Public Class StandardOleMarshalObject
Inherits MarshalByRefObject
继承
StandardOleMarshalObject
派生
属性
ComVisibleAttribute MonoLimitationAttribute

注解

StandardOleMarshalObject 类可防止 OLE 进入 UI 线程以外的线程,从而阻止对宿主对象的调用。

应从 StandardOleMarshalObject 类派生类以获取此功能。

构造函数

StandardOleMarshalObject()

初始化 StandardOleMarshalObject 类的新实例。

方法

CreateObjRef(Type)

创建一个对象,该对象包含生成用于与远程对象进行通信的代理所需的全部相关信息。

(继承自 MarshalByRefObject)
Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetLifetimeService()
已过时。

检索控制此实例的生存期策略的当前生存期服务对象。

(继承自 MarshalByRefObject)
GetType()

获取当前实例的 Type

(继承自 Object)
InitializeLifetimeService()
已过时。

获取生存期服务对象来控制此实例的生存期策略。

(继承自 MarshalByRefObject)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
MemberwiseClone(Boolean)

创建当前 MarshalByRefObject 对象的浅表副本。

(继承自 MarshalByRefObject)
ToString()

返回表示当前对象的字符串。

(继承自 Object)

适用于