The RefactorOperation manages the whole life cycle of the refactoring operation.
This API is not CLS-compliant.
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
'Declaration <CLSCompliantAttribute(False)> _ Public MustInherit Class RefactoringOperation 'Usage Dim instance As RefactoringOperation
[CLSCompliantAttribute(false)] public abstract class RefactoringOperation
[CLSCompliantAttribute(false)] public ref class RefactoringOperation abstract
public abstract class RefactoringOperation
[<AbstractClassAttribute>] [<CLSCompliantAttribute(false)>] type RefactoringOperation = class end
For each database refactoring type, there will be a derived class from [RefactorOperation]. An instance of this class will only exist for the duration of the refactoring operation. The [RefactorOperation] base class drives the actual life cycle of the refactoring operation. The methods of the derived classes are invoked by the base class methods.
The RefactoringOperation performs the following functions:
It serves as the launch point for a refactoring operation.
It presents a user interface to the user to gather required input for the refactoring operation.
It provides services such as the Preview Changes dialog box in the base class.
The user interface runs on a separate thread that blocks only when displaying user interface elements (such as the Preview Changes dialog box).
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.