StandardOleMarshalObject Classe

Definizione

Sostituisce il gestore di marshalling senza thread (CLR) standard con il gestore di marshalling OLE STA standard.

public ref class StandardOleMarshalObject : MarshalByRefObject
public class StandardOleMarshalObject : MarshalByRefObject
[System.Runtime.InteropServices.ComVisible(true)]
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
Public Class StandardOleMarshalObject
Inherits MarshalByRefObject
Ereditarietà
StandardOleMarshalObject
Derivato
Attributi

Commenti

La StandardOleMarshalObject classe impedisce alle chiamate effettuate in un oggetto host da OLE di immettere thread diversi dal thread dell'interfaccia utente.

È necessario derivare la classe dalla StandardOleMarshalObject classe per ottenere questa funzionalità.

Costruttori

Nome Descrizione
StandardOleMarshalObject()

Inizializza una nuova istanza della classe StandardOleMarshalObject.

Metodi

Nome Descrizione
CreateObjRef(Type)

Crea un oggetto che contiene tutte le informazioni pertinenti necessarie per generare un proxy utilizzato per comunicare con un oggetto remoto.

(Ereditato da MarshalByRefObject)
Equals(Object)

Determina se l'oggetto specificato è uguale all'oggetto corrente.

(Ereditato da Object)
GetHashCode()

Funge da funzione hash predefinita.

(Ereditato da Object)
GetLifetimeService()
Obsoleti.

Recupera l'oggetto servizio di durata corrente che controlla i criteri di durata per questa istanza.

(Ereditato da MarshalByRefObject)
GetType()

Ottiene il Type dell'istanza corrente.

(Ereditato da Object)
InitializeLifetimeService()
Obsoleti.

Ottiene un oggetto servizio di durata per controllare i criteri di durata per questa istanza.

(Ereditato da MarshalByRefObject)
MemberwiseClone()

Crea una copia superficiale del Objectcorrente.

(Ereditato da Object)
MemberwiseClone(Boolean)

Crea una copia superficiale dell'oggetto corrente MarshalByRefObject .

(Ereditato da MarshalByRefObject)
ToString()

Restituisce una stringa che rappresenta l'oggetto corrente.

(Ereditato da Object)

Si applica a