ObjectiveCMarshal Sınıf
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Önemli
Bu API, CLS uyumlu değildir.
Objective-C hazırlamayı etkinleştirmek için 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")]
[System.Runtime.Versioning.SupportedOSPlatform("ios")]
[System.Runtime.Versioning.SupportedOSPlatform("tvos")]
[System.Runtime.Versioning.SupportedOSPlatform("maccatalyst")]
public static class ObjectiveCMarshal
[<System.CLSCompliant(false)>]
[<System.Runtime.Versioning.SupportedOSPlatform("macos")>]
type ObjectiveCMarshal = class
[<System.CLSCompliant(false)>]
[<System.Runtime.Versioning.SupportedOSPlatform("macos")>]
[<System.Runtime.Versioning.SupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.SupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.SupportedOSPlatform("maccatalyst")>]
type ObjectiveCMarshal = class
Public Class ObjectiveCMarshal
- Devralma
-
ObjectiveCMarshal
- Öznitelikler
Yöntemler
| Name | Description |
|---|---|
| CreateReferenceTrackingHandle(Object, Span<IntPtr>) |
Sağlanan nesne için yerel başvuru izleme isteğinde bulun. |
| GetOrCreateReferenceTrackingMemory(Object) |
Objective-C hazırlamayı etkinleştirmek için API. |
| Initialize(delegate* unmanaged<Void>, delegate* unmanaged<IntPtr, Int32>, delegate* unmanaged<IntPtr, Void>, ObjectiveCMarshal+UnhandledExceptionPropagationHandler) |
Objective-C hazırlama API'sini başlatın. |
| SetMessageSendCallback(ObjectiveCMarshal+MessageSendFunction, IntPtr) |
Dışarı aktarmayı geçiren bir Objective-C çalışma zamanı iletisi için işlev işaretçisini geçersiz kılma ayarlayın. |
| SetMessageSendPendingException(Exception) |
Bir Objective-C msgSend P/Invoke'dan çalışma zamanı bir sonraki girildiğinde atılacak bekleyen bir özel durum ayarlar. |