ExceptionAsVoidMarshaller Класс

Определение

Представляет маршализатор, который глотает исключения.

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
Наследование
ExceptionAsVoidMarshaller
Атрибуты

Методы

Имя Описание
ConvertToUnmanaged(Exception)

Глотает указанное исключение и ничего не возвращает.

Применяется к