Язык

ExceptionAsNaNMarshaller<T> Класс

Определение

Преобразует все исключения NaNв .

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

Параметры типа

T

Неуправляемый тип для возврата NaN значения.

Наследование
ExceptionAsNaNMarshaller<T>
Атрибуты

Методы

Имя Описание
ConvertToUnmanaged(Exception)

Преобразует указанное исключение NaNв .

Применяется к