共用方式為


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)

會抑制指定的例外狀況,而且不會傳回任何專案。

適用於