Export (0) Print
Expand All

IObjectHandle Interface

Defines the interface for unwrapping marshal by value objects from indirection.

For a list of all members of this type, see IObjectHandle Members.

[Visual Basic]
<Guid("C460E2B4-E199-412a-8456-84DC3E4838C3")>
<InterfaceType(ComInterfaceType.InterfaceIsIUnknown)>
Public Interface IObjectHandle
[C#]
[Guid("C460E2B4-E199-412a-8456-84DC3E4838C3")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IObjectHandle
[C++]
[Guid("C460E2B4-E199-412a-8456-84DC3E4838C3")]
[InterfaceType(ComInterfaceType::InterfaceIsIUnknown)]
public __gc __interface IObjectHandle
[JScript]
public
   Guid("C460E2B4-E199-412a-8456-84DC3E4838C3")
 InterfaceType(ComInterfaceType.InterfaceIsIUnknown)
interface IObjectHandle

Classes that Implement IObjectHandle

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

Remarks

Marshal by value objects can be returned through an indirection, allowing the caller to control when the object is loaded into their domain. The caller can unwrap the object from the indirection through this interface.

The class implementing the IObjectHandle interface can be 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 IObjectHandle travels. Thus, the IObjectHandle class gives the caller control of when the Type of the remote object is loaded into their domain.

Requirements

Namespace: System.Runtime.Remoting

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

IObjectHandle Members | System.Runtime.Remoting Namespace

Show:
© 2014 Microsoft