RefactoringError Constructor (String, String, RefactoringErrorCategory)
Initializes a new instance of the RefactoringError class.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Refactoring
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
document As String, _
category As RefactoringErrorCategory _
)
'Usage
Dim message As String
Dim document As String
Dim category As RefactoringErrorCategory
Dim instance As New RefactoringError(message, _
document, category)
public RefactoringError(
string message,
string document,
RefactoringErrorCategory category
)
public:
RefactoringError(
String^ message,
String^ document,
RefactoringErrorCategory category
)
public function RefactoringError(
message : String,
document : String,
category : RefactoringErrorCategory
)
new :
message:string *
document:string *
category:RefactoringErrorCategory -> RefactoringError
Parameters
- message
Type: System.String
The text of the error message
- document
Type: System.String
The document to which the error applies
- category
Type: Microsoft.VisualStudio.Data.Schema.Project.Refactoring.RefactoringErrorCategory
The error category determines where the error is displayed
.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.Project.Refactoring Namespace