Partilhar via


InvalidToolsetDefinitionException Class

Definition

Exception subclass that ToolsetReaders should throw.

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

Constructors

InvalidToolsetDefinitionException()

Basic constructor.

InvalidToolsetDefinitionException(SerializationInfo, StreamingContext)
Obsolete.

Basic constructor.

InvalidToolsetDefinitionException(String, Exception)

Basic constructor.

InvalidToolsetDefinitionException(String, String, Exception)

Constructor that takes an MSBuild error code

InvalidToolsetDefinitionException(String, String)

Constructor that takes an MSBuild error code

InvalidToolsetDefinitionException(String)

Basic constructor.

Properties

ErrorCode

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

StackTrace (Inherited from BuildExceptionBase)

Methods

FlushCustomState()
GetObjectData(SerializationInfo, StreamingContext)
Obsolete.

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.

InitializeCustomState(IDictionary<String,String>)
ToString() (Inherited from BuildExceptionBase)

Applies to