ExceptionAsDefaultMarshaller<T> Classe

Definição

Converte a exceção para o valor padrão do tipo não gerido especificado.

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)

Parâmetros de Tipo Genérico

T

Do tipo não gerido.

Herança
ExceptionAsDefaultMarshaller<T>
Atributos

Métodos

Name Description
ConvertToUnmanaged(Exception)

Converte a exceção especificada no valor padrão do tipo não gerido.

Aplica-se a