IObjectHandle 인터페이스

정의

간접 참조에서 값으로 마샬링 개체의 래핑을 해제하기 위한 인터페이스를 정의합니다.

public interface class IObjectHandle
[System.Runtime.InteropServices.Guid("C460E2B4-E199-412a-8456-84DC3E4838C3")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IObjectHandle
[System.Runtime.InteropServices.Guid("C460E2B4-E199-412a-8456-84DC3E4838C3")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface IObjectHandle
[<System.Runtime.InteropServices.Guid("C460E2B4-E199-412a-8456-84DC3E4838C3")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IObjectHandle = interface
[<System.Runtime.InteropServices.Guid("C460E2B4-E199-412a-8456-84DC3E4838C3")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type IObjectHandle = interface
Public Interface IObjectHandle
파생
특성

설명

값으로 마샬링된 개체는 간접 참조를 통해 반환할 수 있으므로 호출자가 개체가 도메인에 로드되는 시기를 제어할 수 있습니다. 호출자는 이 인터페이스를 통해 간접 참조에서 개체를 래프 해제할 수 있습니다.

인터페이스를 구현하는 IObjectHandle 클래스는 이동하는 각 AppDomain 개체에 대한 메타데이터를 로드하지 않고 여러 애플리케이션 도메인 간에 개체를 전달(래핑된 상태)하는 IObjectHandle 데 사용할 수 있습니다. 따라서 클래스는 IObjectHandle 원격 개체의 도메인에 로드 되는 경우 Type 호출자 제어를 제공 합니다.

메서드

Name Description
Unwrap()

개체 래프 해제

적용 대상