ICscHostObject.SetCheckForOverflowUnderflow Method

Specifies a value indicating whether integer arithmetic that overflows the bounds of the data type causes an exception at run time.

Namespace:  Microsoft.Build.Tasks.Hosting
Assembly:  Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)

bool SetCheckForOverflowUnderflow(
	bool checkForOverflowUnderflow
)

Parameters

checkForOverflowUnderflow
Type: System.Boolean

true to cause an exception when integer arithmetic overflows the bounds of the data type; otherwise, false.

Return Value

Type: System.Boolean
true if the method was successful; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft