Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

34 lines
1.0 KiB
C#

// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Class: IObjectHandle
**
**
** IObjectHandle defines the interface for unwrapping objects.
** Objects that are marshal by value object 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.
**
**
===========================================================*/
namespace System.Runtime.Remoting {
using System;
using System.Runtime.InteropServices;
[ InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown),
GuidAttribute("C460E2B4-E199-412a-8456-84DC3E4838C3") ]
[System.Runtime.InteropServices.ComVisible(true)]
public interface IObjectHandle {
// Unwrap the object. Implementers of this interface
// typically have an indirect referece to another object.
Object Unwrap();
}
}