StandardOleMarshalObject Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Replaces the standard common language runtime (CLR) free-threaded marshaler with the standard OLE STA marshaler.
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
- Inheritance
- Derived
- Attributes
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.
Standard |
Initializes a new instance of the StandardOleMarshalObject class. |
Create |
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) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Obsolete.
Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Initialize |
Obsolete.
Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Produs | Versiuni |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Feedback pentru .NET
.NET este un proiect open source. Selectați un link pentru a oferi feedback: