InvalidToolsetDefinitionException Class

Definition

This class (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Exception subclass that ToolsetReaders should throw.

public ref class InvalidToolsetDefinitionException : Exception
[System.Serializable]
public class InvalidToolsetDefinitionException : Exception
[<System.Serializable>]
type InvalidToolsetDefinitionException = class
    inherit Exception
Public Class InvalidToolsetDefinitionException
Inherits Exception
Inheritance
InvalidToolsetDefinitionException
Attributes

Remarks

Warning

This class (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Constructors

InvalidToolsetDefinitionException()

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution Basic constructor.

InvalidToolsetDefinitionException(SerializationInfo, StreamingContext)

Basic constructor.

InvalidToolsetDefinitionException(String)

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution Basic constructor.

InvalidToolsetDefinitionException(String, Exception)

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution Basic constructor.

InvalidToolsetDefinitionException(String, String)

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution Constructor that takes an MSBuild error code

InvalidToolsetDefinitionException(String, String, Exception)

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Constructor that takes an MSBuild error code

Properties

ErrorCode

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

The MSBuild error code corresponding with this exception, or null if none was specified.

Methods

GetObjectData(SerializationInfo, StreamingContext)

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution ISerializable method which we must override since Exception implements this interface If we ever add new members to this class, we'll need to update this.

Applies to