ErrorWrapper Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the ErrorWrapper class.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodErrorWrapper(Exception)

Initializes a new instance of the ErrorWrapper class with the HRESULT that corresponds to the exception supplied.

System_CAPS_pubmethodErrorWrapper(Int32)

Initializes a new instance of the ErrorWrapper class with the HRESULT of the error.

System_CAPS_pubmethodErrorWrapper(Object)

Initializes a new instance of the ErrorWrapper class with an object containing the HRESULT of the error.

Return to top
Show: