Språk

ExceptionAsHResultMarshaller<T>.ConvertToUnmanaged(Exception) Metod

Definition

Konverterar ett undantagsobjekt till värdet för dess HResult konverterade till 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

Parametrar

e
Exception

Undantaget.

Returer

T

HResult för undantaget konverteras till T.

Gäller för