Sprache

ExceptionAsHResultMarshaller<T>.ConvertToUnmanaged(Exception) Methode

Definition

Marshals an exception object to the value of its HResult converted to T.

public:
 static T ConvertToUnmanaged(Exception ^ e);
public static T ConvertToUnmanaged(Exception e);
static member ConvertToUnmanaged : Exception -> 'T
Public Shared Function ConvertToUnmanaged (e As Exception) As T

Parameter

e
Exception

Die Ausnahme.

Gibt zurück

T

Das HResult der Ausnahme, konvertiert in T.

Gilt für: