Share via


SafeHandleMarshaller<T> Classe

Definizione

Marshalling dei SafeHandletipi derivati seguendo le regole di durata per SafeHandle gli oggetti.

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)

Parametri di tipo

T

Tipo SafeHandlederivato.

Ereditarietà
SafeHandleMarshaller<T>
Attributi

Si applica a