ExceptionAsDefaultMarshaller<T> クラス

定義

例外を、指定したアンマネージ型の既定値に変換します。

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)

型パラメーター

T

アンマネージ型。

継承
ExceptionAsDefaultMarshaller<T>
属性

メソッド

ConvertToUnmanaged(Exception)

指定した例外をアンマネージ型の既定値に変換します。

適用対象