Rediger

Del via


ExceptionAsHResultMarshaller<T>.ConvertToUnmanaged(Exception) Method

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

Parameters

e
Exception

The exception.

Returns

T

The HResult of the exception, converted to T.

Applies to