Freigeben über


SafeHandleMarshaller<T> Klasse

Definition

Marshallen SafeHandleabgeleitete Typen, die den Lebensdauerregeln für SafeHandle Objekte folgen.

generic <typename T>
 where T : SafeHandlepublic ref class SafeHandleMarshaller abstract sealed
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute+GenericPlaceholder), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<>+ManagedToUnmanagedIn))]
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute+GenericPlaceholder), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedRef, typeof(System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<>+ManagedToUnmanagedRef))]
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute+GenericPlaceholder), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedOut, typeof(System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<>+ManagedToUnmanagedOut))]
public static class SafeHandleMarshaller<T> where T : SafeHandle
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute+GenericPlaceholder), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<>+ManagedToUnmanagedIn))>]
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute+GenericPlaceholder), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedRef, typeof(System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<>+ManagedToUnmanagedRef))>]
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute+GenericPlaceholder), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedOut, typeof(System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<>+ManagedToUnmanagedOut))>]
type SafeHandleMarshaller<'T (requires 'T :> SafeHandle)> = class
Public Class SafeHandleMarshaller(Of T)

Typparameter

T

Der SafeHandleabgeleitete Typ.

Vererbung
SafeHandleMarshaller<T>
Attribute

Gilt für: