Share via


InvalidToolsetDefinitionException Constructor

Initializes a new instance of the InvalidToolsetDefinitionException class.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

Syntax

'Declaration
Public Sub New
public InvalidToolsetDefinitionException()
public:
InvalidToolsetDefinitionException()
new : unit -> InvalidToolsetDefinitionException
public function InvalidToolsetDefinitionException()

Remarks

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error, such as "DefaultMessageDisplayedByParameterlessCtorWriterMustSupply" This message takes into account the current system culture.

The following table shows the initial property values for an instance of InsufficientMemoryException.

Property

Value

InnerException

nulla null reference (Nothing in Visual Basic).

Message

The localized error message string.

.NET Framework Security

See Also

Reference

InvalidToolsetDefinitionException Class

InvalidToolsetDefinitionException Overload

Microsoft.Build.BuildEngine Namespace

Other Resources

Handling and Throwing Exceptions