ExceptionAsDefaultMarshaller<T> Klas

Definitie

Converteert de uitzondering naar de standaardwaarde van het opgegeven niet-beheerde type.

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)

Type parameters

T

Het onbeheerde type.

Overname
ExceptionAsDefaultMarshaller<T>
Kenmerken

Methoden

Name Description
ConvertToUnmanaged(Exception)

Converteert de opgegeven uitzondering naar de standaardwaarde van het niet-beheerde type.

Van toepassing op