StandardOleMarshalObject 類別

定義

使用標準 OLE STA 封送處理器,取代標準 Common Language Runtime (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)

建立包含所有相關資訊的物件,這些資訊是產生用來與遠端物件通訊的所需 Proxy。

(繼承來源 MarshalByRefObject)
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

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

擷取控制這個執行個體存留期 (Lifetime) 原則的目前存留期服務物件。

(繼承來源 MarshalByRefObject)
GetType()

取得目前執行個體的 Type

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

取得存留期服務物件,以控制這個執行個體的存留期原則。

(繼承來源 MarshalByRefObject)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
MemberwiseClone(Boolean)

建立目前 MarshalByRefObject 物件的淺層複本。

(繼承來源 MarshalByRefObject)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於