Compartir a través de


InvalidToolsetDefinitionException Constructors

Definition

Initializes a new instance of the InvalidToolsetDefinitionException class.

Overloads

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(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(SerializationInfo, StreamingContext)

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

InvalidToolsetDefinitionException()

Source:
InvalidToolsetDefinitionException.cs

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.

public:
 InvalidToolsetDefinitionException();
public InvalidToolsetDefinitionException ();
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public InvalidToolsetDefinitionException ();
Public Sub New ()
Attributes

Remarks

Warning

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

Applies to

InvalidToolsetDefinitionException(String)

Source:
InvalidToolsetDefinitionException.cs

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.

public:
 InvalidToolsetDefinitionException(System::String ^ message);
public InvalidToolsetDefinitionException (string message);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public InvalidToolsetDefinitionException (string message);
new Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException : string -> Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException : string -> Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException
Public Sub New (message As String)

Parameters

message
String
Attributes

Remarks

Warning

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

Applies to

InvalidToolsetDefinitionException(SerializationInfo, StreamingContext)

Source:
InvalidToolsetDefinitionException.cs

Basic constructor.

protected:
 InvalidToolsetDefinitionException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InvalidToolsetDefinitionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context
StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Remarks

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream. For more information, see XML and SOAP Serialization.

See also

Applies to

InvalidToolsetDefinitionException(String, Exception)

Source:
InvalidToolsetDefinitionException.cs

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.

public:
 InvalidToolsetDefinitionException(System::String ^ message, Exception ^ innerException);
public InvalidToolsetDefinitionException (string message, Exception innerException);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public InvalidToolsetDefinitionException (string message, Exception innerException);
new Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException : string * Exception -> Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException : string * Exception -> Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String
innerException
Exception
Attributes

Remarks

Warning

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

See also

Applies to

InvalidToolsetDefinitionException(String, String)

Source:
InvalidToolsetDefinitionException.cs

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

public:
 InvalidToolsetDefinitionException(System::String ^ message, System::String ^ errorCode);
public InvalidToolsetDefinitionException (string message, string errorCode);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public InvalidToolsetDefinitionException (string message, string errorCode);
new Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException : string * string -> Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException : string * string -> Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException
Public Sub New (message As String, errorCode As String)

Parameters

message
String
errorCode
String
Attributes

Remarks

Warning

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

Applies to

InvalidToolsetDefinitionException(String, String, Exception)

Source:
InvalidToolsetDefinitionException.cs

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

public:
 InvalidToolsetDefinitionException(System::String ^ message, System::String ^ errorCode, Exception ^ innerException);
public InvalidToolsetDefinitionException (string message, string errorCode, Exception innerException);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public InvalidToolsetDefinitionException (string message, string errorCode, Exception innerException);
new Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException : string * string * Exception -> Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException : string * string * Exception -> Microsoft.Build.BuildEngine.InvalidToolsetDefinitionException
Public Sub New (message As String, errorCode As String, innerException As Exception)

Parameters

message
String
errorCode
String
innerException
Exception
Attributes

Remarks

Warning

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

Applies to