Поделиться через


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

Remarks

During the refactoring operation, the operation displays these error messages according to their error category.

.NET Framework Security

See Also

Reference

RefactoringOperation Class

Microsoft.VisualStudio.Data.Schema.Package.Refactoring Namespace