InvalidProjectFileException Classe
Définition
Cette exception est levée à chaque fois qu'il y a un problème avec le fichier projet XML de l'utilisateur.This exception is thrown whenever there is a problem with the user's XML project file. Le problème peut être sémantique ou syntactique.The problem might be semantic or syntactical. Si le problème se trouve dans la syntaxe, il peut généralement être détecté par la validation XSD.If the problem is in the syntax, it can typically be caught by XSD validation.
public ref class InvalidProjectFileException sealed : Exception
[System.Serializable]
public sealed class InvalidProjectFileException : Exception
[<System.Serializable>]
type InvalidProjectFileException = class
inherit Exception
Public NotInheritable Class InvalidProjectFileException
Inherits Exception
- Héritage
- Attributs
Constructeurs
InvalidProjectFileException() |
Initialise une nouvelle instance de la classe InvalidProjectFileException.Initializes a new instance of InvalidProjectFileException class. |
InvalidProjectFileException(String) |
Initialise une nouvelle instance de la classe InvalidProjectFileException avec le message spécifié.Initializes a new instance of InvalidProjectFileException class using the specified message. |
InvalidProjectFileException(String, Exception) |
Initialise une nouvelle instance de la classe InvalidProjectFileException avec le message et l'exception interne spécifiés.Initializes a new instance of InvalidProjectFileException class using the specified error message and inner exception. |
InvalidProjectFileException(String, Int32, Int32, Int32, Int32, String, String, String, String) |
Initialise une nouvelle instance de la classe InvalidProjectFileException à l'aide d'informations d'erreur complètes.Initializes a new instance of InvalidProjectFileException class using rich error information. |
InvalidProjectFileException(XmlNode, String, String, String, String) |
Initialise une nouvelle instance de la classe InvalidProjectFileException à l'aide d'informations d'erreur complètes.Initializes a new instance of InvalidProjectFileException class using rich error information. |
Propriétés
BaseMessage |
Obtient le message d'exception, à l'exception du fichier projet.Gets the exception message, not including the project file. |
ColumnNumber |
Obtient le numéro de colonne non valide, le cas échéant, dans le projet.Gets the invalid column number, if any, in the project. |
Data |
Obtient une collection de paires clé/valeur qui fournissent des informations définies par l'utilisateur supplémentaires sur l'exception.Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Hérité de Exception) |
EndColumnNumber |
Obtient le dernier numéro de colonne, le cas échéant, d'une plage de colonnes non valides dans le projet.Gets the last column number, if any, of a range of invalid columns in the project. |
EndLineNumber |
Obtient le dernier numéro de ligne, le cas échéant, d'une plage de lignes non valides dans le projet.Gets the last line number, if any, of a range of invalid lines in the project. |
ErrorCode |
Obtient le code d'erreur, le cas échéant, associé au message d'exception.Gets the error code, if any, associated with the exception message. |
ErrorSubcategory |
Obtient la sous-catégorie d’erreur, le cas échéant, qui décrit le type de cette erreur.Gets the error sub-category, if any that describes the type of this error. |
HelpKeyword |
Obtient le mot clé d'aide F1, le cas échéant, associé à cette erreur, pour l'IDE hôte.Gets the F1-help keyword, if any, associated with this error, for the host IDE. |
HelpLink |
Obtient ou définit un lien vers le fichier d'aide associé à cette exception.Gets or sets a link to the help file associated with this exception. (Hérité de Exception) |
HResult |
Obtient ou définit HRESULT, valeur numérique codée qui est assignée à une exception spécifique.Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Hérité de Exception) |
InnerException |
Obtient l'instance Exception qui a provoqué l'exception actuelle.Gets the Exception instance that caused the current exception. (Hérité de Exception) |
LineNumber |
Obtient le numéro de ligne non valide, le cas échéant, dans le projet.Gets the invalid line number, if any, in the project. |
Message |
Obtient le message d'exception, y compris le fichier projet concerné, le cas échéant.Gets the exception message, including the affected project file, if any. |
ProjectFile |
Obtient le fichier projet, le cas échéant, associé à cette exception.Gets the project file, if any, associated with this exception. |
Source |
Obtient ou définit le nom de l'application ou de l'objet qui est à l'origine de l'erreur.Gets or sets the name of the application or the object that causes the error. (Hérité de Exception) |
StackTrace |
Obtient une représentation sous forme de chaîne des frames immédiats sur la pile des appels.Gets a string representation of the immediate frames on the call stack. (Hérité de Exception) |
TargetSite |
Obtient la méthode qui lève l'exception actuelle.Gets the method that throws the current exception. (Hérité de Exception) |
Méthodes
Equals(Object) |
Détermine si l'objet spécifié est égal à l'objet actuel.Determines whether the specified object is equal to the current object. (Hérité de Object) |
GetBaseException() |
En cas de substitution dans une classe dérivée, retourne la Exception qui est à l'origine d'une ou de plusieurs exceptions ultérieures.When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Hérité de Exception) |
GetHashCode() |
Fait office de fonction de hachage par défaut.Serves as the default hash function. (Hérité de Object) |
GetObjectData(SerializationInfo, StreamingContext) |
Définit SerializationInfo avec des informations concernant l'exception.Sets the SerializationInfo with information about the exception. |
GetType() |
Obtient le type au moment de l'exécution de l'instance actuelle.Gets the runtime type of the current instance. (Hérité de Exception) |
MemberwiseClone() |
Crée une copie superficielle du Object actuel.Creates a shallow copy of the current Object. (Hérité de Object) |
ToString() |
Crée et retourne une chaîne représentant l'exception actuelle.Creates and returns a string representation of the current exception. (Hérité de Exception) |
Événements
SerializeObjectState |
Se produit quand une exception est sérialisée pour créer un objet d'état d'exception qui contient des données sérialisées concernant l'exception.Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Hérité de Exception) |