Partilhar via


InvalidToolsetDefinitionException Constructors

Definition

Basic constructor.

Overloads

InvalidToolsetDefinitionException()

Basic constructor.

InvalidToolsetDefinitionException(String)

Basic constructor.

InvalidToolsetDefinitionException(SerializationInfo, StreamingContext)
Obsolete.

Basic constructor.

InvalidToolsetDefinitionException(String, Exception)

Basic constructor.

InvalidToolsetDefinitionException(String, String)

Constructor that takes an MSBuild error code

InvalidToolsetDefinitionException(String, String, Exception)

Constructor that takes an MSBuild error code

InvalidToolsetDefinitionException()

Source:
InvalidToolsetDefinitionException.cs

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

Applies to

InvalidToolsetDefinitionException(String)

Source:
InvalidToolsetDefinitionException.cs

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.Exceptions.InvalidToolsetDefinitionException : string -> Microsoft.Build.Exceptions.InvalidToolsetDefinitionException
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.Exceptions.InvalidToolsetDefinitionException : string -> Microsoft.Build.Exceptions.InvalidToolsetDefinitionException
Public Sub New (message As String)

Parameters

message
String
Attributes

Applies to

InvalidToolsetDefinitionException(SerializationInfo, StreamingContext)

Source:
InvalidToolsetDefinitionException.cs

Caution

This API is now deprecated.

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);
[System.Obsolete(DiagnosticId="SYSLIB0051")]
protected InvalidToolsetDefinitionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Build.Exceptions.InvalidToolsetDefinitionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Build.Exceptions.InvalidToolsetDefinitionException
[<System.Obsolete(DiagnosticId="SYSLIB0051")>]
new Microsoft.Build.Exceptions.InvalidToolsetDefinitionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Build.Exceptions.InvalidToolsetDefinitionException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The error information.

context
StreamingContext

The error context.

Attributes

Applies to

InvalidToolsetDefinitionException(String, Exception)

Source:
InvalidToolsetDefinitionException.cs

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

Parameters

message
String
innerException
Exception
Attributes

Applies to

InvalidToolsetDefinitionException(String, String)

Source:
InvalidToolsetDefinitionException.cs

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.Exceptions.InvalidToolsetDefinitionException : string * string -> Microsoft.Build.Exceptions.InvalidToolsetDefinitionException
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.Exceptions.InvalidToolsetDefinitionException : string * string -> Microsoft.Build.Exceptions.InvalidToolsetDefinitionException
Public Sub New (message As String, errorCode As String)

Parameters

message
String
errorCode
String
Attributes

Applies to

InvalidToolsetDefinitionException(String, String, Exception)

Source:
InvalidToolsetDefinitionException.cs

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

Parameters

message
String
errorCode
String
innerException
Exception
Attributes

Applies to