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)

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

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