Επεξεργασία

Κοινή χρήση μέσω


ExceptionAsVoidMarshaller Class

Definition

Represents a marshaller that swallows exceptions.

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
Inheritance
ExceptionAsVoidMarshaller
Attributes

Methods

ConvertToUnmanaged(Exception)

Swallows the specified exception and returns nothing.

Applies to