RefactoringError Constructor (String, String, RefactoringErrorCategory)
Initializes a new instance of the RefactoringError class.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Refactoring
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
document As String, _
category As RefactoringErrorCategory _
)
public RefactoringError(
string message,
string document,
RefactoringErrorCategory category
)
public:
RefactoringError(
String^ message,
String^ document,
RefactoringErrorCategory category
)
new :
message:string *
document:string *
category:RefactoringErrorCategory -> RefactoringError
public function RefactoringError(
message : String,
document : String,
category : RefactoringErrorCategory
)
Parameters
- message
Type: System.String
Error message.
- document
Type: System.String
Path of the related file.
- category
Type: Microsoft.VisualStudio.Data.Schema.Package.Refactoring.RefactoringErrorCategory
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