RefactoringOperation.AddError, méthode
Ajoute une erreur de refactorisation à l'opération.
Espace de noms : Microsoft.VisualStudio.Data.Schema.Package.Refactoring
Assembly : Microsoft.VisualStudio.Data.Schema.Package (dans Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntaxe
'Déclaration
Public Sub AddError ( _
error As RefactoringError _
)
public void AddError(
RefactoringError error
)
public:
void AddError(
RefactoringError^ error
)
member AddError :
error:RefactoringError -> unit
public function AddError(
error : RefactoringError
)
Paramètres
- error
Type : Microsoft.VisualStudio.Data.Schema.Package.Refactoring.RefactoringError
Erreur à ajouter.
Notes
Pendant l'opération de refactorisation, l'opération affiche ces messages d'erreur d'après leur catégorie.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Voir aussi
Référence
Microsoft.VisualStudio.Data.Schema.Package.Refactoring, espace de noms