Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Utils::ThrowException Method (Int32)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Throws a localized Visual Basic exception.

Namespace:   Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public:
static void ThrowException(
	int hr
)

Parameters

hr
Type: System::Int32

The Visual Basic error identifier.

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Return to top
Show:
© 2017 Microsoft