Edit

Share via


ExceptionAsDefaultMarshaller<T>.ConvertToUnmanaged(Exception) Method

Definition

Converts the specified exception to the default value of the unmanaged type.

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 default value of T.

Applies to