StandardOleMarshalObject StandardOleMarshalObject StandardOleMarshalObject StandardOleMarshalObject Class

Definición

Reemplaza el contador de referencias de subprocesamiento libre de Common Language Runtime (CLR) con el contador de referencias OLE STA estándar.Replaces the standard common language runtime (CLR) free-threaded marshaler with the standard OLE STA marshaler.

public ref class StandardOleMarshalObject : MarshalByRefObject
[System.MonoLimitation("The runtime does nothing special apart from what it already does with marshal-by-ref objects")]
[System.Runtime.InteropServices.ComVisible(true)]
public class StandardOleMarshalObject : MarshalByRefObject
type StandardOleMarshalObject = class
    inherit MarshalByRefObject
Public Class StandardOleMarshalObject
Inherits MarshalByRefObject
Herencia
StandardOleMarshalObjectStandardOleMarshalObjectStandardOleMarshalObjectStandardOleMarshalObject
Atributos
System.MonoLimitationAttribute ComVisibleAttribute

Comentarios

La StandardOleMarshalObject clase evita que las llamadas realizadas en un objeto de hospedaje por OLE escriban subprocesos distintos del subproceso de interfaz de usuario.The StandardOleMarshalObject class prevents calls made into a hosting object by OLE from entering threads other than the UI thread.

Debe derivar la clase de la StandardOleMarshalObject clase para obtener esta funcionalidad.You should derive your class from the StandardOleMarshalObject class to gain this functionality.

Constructores

StandardOleMarshalObject() StandardOleMarshalObject() StandardOleMarshalObject() StandardOleMarshalObject()

Inicializa una nueva instancia de la clase StandardOleMarshalObject.Initializes a new instance of the StandardOleMarshalObject class.

Métodos

CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type)

Crea un objeto que contiene toda la información relevante necesaria para generar un proxy utilizado para comunicarse con un objeto remoto.Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(Inherited from MarshalByRefObject)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determina si el objeto especificado es igual al objeto actual.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Sirve como la función hash predeterminada.Serves as the default hash function.

(Inherited from Object)
GetLifetimeService() GetLifetimeService() GetLifetimeService() GetLifetimeService()

Recupera el objeto de servicio de duración actual que controla la directiva de duración de esta instancia.Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetType() GetType() GetType() GetType()

Obtiene el Type de la instancia actual.Gets the Type of the current instance.

(Inherited from Object)
InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService()

Obtiene un objeto de servicio de duración para controlar la directiva de duración de esta instancia.Obtains a lifetime service object to control the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Crea una copia superficial del objeto Object actual.Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean)

Crea una copia superficial del objeto MarshalByRefObject actual.Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
ToString() ToString() ToString() ToString()

Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object.

(Inherited from Object)

Se aplica a