System.Runtime.Remoting.ObjectHandle Class

Wraps marshal-by-value object references, allowing them to be returned through an indirection.

See Also: ObjectHandle Members

Syntax

[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDual)]
[System.Runtime.InteropServices.ComVisible(true)]
public class ObjectHandle : MarshalByRefObject, IObjectHandle

Remarks

The System.Runtime.Remoting.ObjectHandle class is used to pass an object (in a wrapped state) between multiple application domains without loading the metadata for the wrapped object in each AppDomain through which the System.Runtime.Remoting.ObjectHandle travels. Thus, the System.Runtime.Remoting.ObjectHandle class gives the caller control of when the Type of the remote object is loaded into a domain.

Requirements

Namespace: System.Runtime.Remoting
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0