ExceptionAsDefaultMarshaller<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts the exception to the default value of the specified unmanaged type.
generic <typename T>
where T : value classpublic ref class ExceptionAsDefaultMarshaller abstract sealed
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Exception), System.Runtime.InteropServices.Marshalling.MarshalMode.UnmanagedToManagedOut, typeof(System.Runtime.InteropServices.Marshalling.ExceptionAsDefaultMarshaller<>))]
public static class ExceptionAsDefaultMarshaller<T> where T : struct
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.Exception), System.Runtime.InteropServices.Marshalling.MarshalMode.UnmanagedToManagedOut, typeof(System.Runtime.InteropServices.Marshalling.ExceptionAsDefaultMarshaller<>))>]
type ExceptionAsDefaultMarshaller<'T (requires 'T : struct)> = class
Public Class ExceptionAsDefaultMarshaller(Of T)
Type Parameters
- T
The unmanaged type.
- Inheritance
-
ExceptionAsDefaultMarshaller<T>
- Attributes
Methods
ConvertToUnmanaged(Exception) |
Converts the specified exception to the default value of the unmanaged type. |
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.