InvalidToolsetDefinitionException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
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)
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)
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)
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)
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)
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