Share via


ExceptionAsDefaultMarshaller<T> Classe

Definizione

Converte l'eccezione nel valore predefinito del tipo non gestito specificato.

generic <typename T>
 where T : value classpublic ref class ExceptionAsDefaultMarshaller abstract sealed
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Exception), System.Runtime.InteropServices.Marshalling.MarshalMode.UnmanagedToManagedOut, typeof(System.Runtime.InteropServices.Marshalling.ExceptionAsDefaultMarshaller<>))]
public static class ExceptionAsDefaultMarshaller<T> where T : struct
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Exception), System.Runtime.InteropServices.Marshalling.MarshalMode.UnmanagedToManagedOut, typeof(System.Runtime.InteropServices.Marshalling.ExceptionAsDefaultMarshaller<>))>]
type ExceptionAsDefaultMarshaller<'T (requires 'T : struct)> = class
Public Class ExceptionAsDefaultMarshaller(Of T)

Parametri di tipo

T

Tipo non gestito.

Ereditarietà
ExceptionAsDefaultMarshaller<T>
Attributi

Metodi

ConvertToUnmanaged(Exception)

Converte l'eccezione specificata nel valore predefinito del tipo non gestito.

Si applica a