Freigeben über


ExceptionAsVoidMarshaller Klasse

Definition

Stellt einen Marshaller dar, der Ausnahmen schluckt.

public ref class ExceptionAsVoidMarshaller abstract sealed
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Exception), System.Runtime.InteropServices.Marshalling.MarshalMode.UnmanagedToManagedOut, typeof(System.Runtime.InteropServices.Marshalling.ExceptionAsVoidMarshaller))]
public static class ExceptionAsVoidMarshaller
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Exception), System.Runtime.InteropServices.Marshalling.MarshalMode.UnmanagedToManagedOut, typeof(System.Runtime.InteropServices.Marshalling.ExceptionAsVoidMarshaller))>]
type ExceptionAsVoidMarshaller = class
Public Class ExceptionAsVoidMarshaller
Vererbung
ExceptionAsVoidMarshaller
Attribute

Methoden

ConvertToUnmanaged(Exception)

Verschluckt die angegebene Ausnahme und gibt nichts zurück.

Gilt für: