System.Runtime.InteropServices.StandardOleMarshalObject Class

Replaces the standard common language runtime (CLR) free-threaded marshaler with the standard OLE STA marshaler.

See Also: StandardOleMarshalObject Members


[System.MonoLimitation("The runtime does nothing special apart from what it already does with marshal-by-ref objects")]
public class StandardOleMarshalObject : MarshalByRefObject


The System.Runtime.InteropServices.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 System.Runtime.InteropServices.StandardOleMarshalObject class to gain this functionality.


Namespace: System.Runtime.InteropServices
Assembly: System (in System.dll)
Assembly Versions:,