RefactoringOperation.AddError Method
Adds a refactoring error to the operation.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Refactoring
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
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
)
Parameters
- error
Type: Microsoft.VisualStudio.Data.Schema.Package.Refactoring.RefactoringError
Error to be added.
Remarks
During the refactoring operation, the operation displays these error messages according to their error category.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Package.Refactoring Namespace