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)

지정된 예외를 관리되지 않는 형식의 기본값으로 변환합니다.

적용 대상