Replaces the standard common language runtime (CLR) free-threaded marshaler with the standard OLE STA marshaler.
Assembly: System (in System.dll)
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)
Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)
Returns a string that represents the current object.(Inherited from Object.)
Theclass prevents calls made into a hosting object by OLE from entering threads other than the UI thread.
You should derive your class from theclass to gain this functionality.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.