Share via


ObjectiveCMarshal 클래스

정의

중요

이 API는 CLS 규격이 아닙니다.

Objective-C 마샬링을 사용하도록 설정하는 API입니다.

public ref class ObjectiveCMarshal abstract sealed
[System.CLSCompliant(false)]
[System.Runtime.Versioning.SupportedOSPlatform("macos")]
public static class ObjectiveCMarshal
[<System.CLSCompliant(false)>]
[<System.Runtime.Versioning.SupportedOSPlatform("macos")>]
type ObjectiveCMarshal = class
Public Class ObjectiveCMarshal
상속
ObjectiveCMarshal
특성

메서드

CreateReferenceTrackingHandle(Object, Span<IntPtr>)

제공된 개체에 대한 네이티브 참조 추적을 요청합니다.

Initialize(delegate* unmanaged<Void>, delegate* unmanaged<IntPtr, Int32>, delegate* unmanaged<IntPtr, Void>, ObjectiveCMarshal+UnhandledExceptionPropagationHandler)

Objective-C 마샬링 API를 초기화합니다.

SetMessageSendCallback(ObjectiveCMarshal+MessageSendFunction, IntPtr)

내보내기를 전달하는 Objective-C 런타임 메시지에 대한 함수 포인터 재정의를 설정합니다.

SetMessageSendPendingException(Exception)

다음에 Objective-C msgSend P/Invoke에서 런타임을 입력할 때 throw될 보류 중인 예외를 설정합니다.

적용 대상