RefactoringOperation.OnError Method

Displays an error message if an error occurs during the refactoring operation.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Refactoring
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Protected Sub OnError ( _
    errorMessage As String _
)
'Usage
Dim errorMessage As String

Me.OnError(errorMessage)
protected void OnError(
    string errorMessage
)
protected:
void OnError(
    String^ errorMessage
)
protected function OnError(
    errorMessage : String
)
member OnError : 
        errorMessage:string -> unit 

Parameters

Remarks

This method can be called from any of the other methods that you implement in classes derived from [RefactoringOperation].

.NET Framework Security

See Also

Reference

RefactoringOperation Class

RefactoringOperation Members

Microsoft.VisualStudio.Data.Schema.Project.Refactoring Namespace