Language

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に変換します。

適用対象