ExceptionAsNaNMarshaller<T> 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将所有异常转换为 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。  |