Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new instance of InvalidProjectFileException class using rich error information.
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Namespace: Microsoft.Build.BuildEngine
Assembly: Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)
Syntax
'Declaration
Public Sub New ( _
xmlNode As XmlNode, _
message As String, _
errorSubcategory As String, _
errorCode As String, _
helpKeyword As String _
)
public InvalidProjectFileException(
XmlNode xmlNode,
string message,
string errorSubcategory,
string errorCode,
string helpKeyword
)
public:
InvalidProjectFileException(
XmlNode^ xmlNode,
String^ message,
String^ errorSubcategory,
String^ errorCode,
String^ helpKeyword
)
new :
xmlNode:XmlNode *
message:string *
errorSubcategory:string *
errorCode:string *
helpKeyword:string -> InvalidProjectFileException
public function InvalidProjectFileException(
xmlNode : XmlNode,
message : String,
errorSubcategory : String,
errorCode : String,
helpKeyword : String
)
Parameters
xmlNode
Type: XmlNodeThe XML node where the error is located. Can be null.
message
Type: System.StringThe error message text for the exception.
errorSubcategory
Type: System.StringA description for the error. This parameter can be a null reference (Nothing in Visual Basic).
errorCode
Type: System.StringThe error code. This parameter can be a null reference (Nothing).
helpKeyword
Type: System.StringThe F1-help keyword for the host IDE. Can be null.
Remarks
This constructor is preferred over the basic constructors.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.
See Also
Reference
InvalidProjectFileException Class