StandardOleMarshalObject StandardOleMarshalObject StandardOleMarshalObject StandardOleMarshalObject Class

Definition

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
Inheritance
StandardOleMarshalObjectStandardOleMarshalObjectStandardOleMarshalObjectStandardOleMarshalObject
Attributes
System.MonoLimitationAttribute ComVisibleAttribute

Remarks

The StandardOleMarshalObject class prevents calls made into a hosting object by OLE from entering threads other than the UI thread.

You should derive your class from the StandardOleMarshalObject class to gain this functionality.

Constructors

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

Initializes a new instance of the StandardOleMarshalObject class.

Methods

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

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)

Determines whether the specified object is equal to the current object.

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

Serves as the default hash function.

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

Retrieves the current lifetime service object that controls the lifetime policy for this instance.

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

Gets the Type of the current instance.

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

Obtains a lifetime service object to control the lifetime policy for this instance.

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

Creates a shallow copy of the current Object.

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

Creates a shallow copy of the current MarshalByRefObject object.

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

Returns a string that represents the current object.

(Inherited from Object)

Applies to