DataSchemaErrorTask Constructor (String, String, Int32, IVsHierarchy, TaskCategory, TaskErrorCategory, TaskPriority)
Initializes a new instance of the DataSchemaErrorTask class.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
document As String, _
line As Integer, _
node As IVsHierarchy, _
category As TaskCategory, _
errorCategory As TaskErrorCategory, _
priority As TaskPriority _
)
'Usage
Dim message As String
Dim document As String
Dim line As Integer
Dim node As IVsHierarchy
Dim category As TaskCategory
Dim errorCategory As TaskErrorCategory
Dim priority As TaskPriority
Dim instance As New DataSchemaErrorTask(message, _
document, line, node, category, errorCategory, _
priority)
public DataSchemaErrorTask(
string message,
string document,
int line,
IVsHierarchy node,
TaskCategory category,
TaskErrorCategory errorCategory,
TaskPriority priority
)
public:
DataSchemaErrorTask(
String^ message,
String^ document,
int line,
IVsHierarchy^ node,
TaskCategory category,
TaskErrorCategory errorCategory,
TaskPriority priority
)
public function DataSchemaErrorTask(
message : String,
document : String,
line : int,
node : IVsHierarchy,
category : TaskCategory,
errorCategory : TaskErrorCategory,
priority : TaskPriority
)
new :
message:string *
document:string *
line:int *
node:IVsHierarchy *
category:TaskCategory *
errorCategory:TaskErrorCategory *
priority:TaskPriority -> DataSchemaErrorTask
Parameters
- message
Type: System.String
The task text
- document
Type: System.String
The document this info belongs to
- line
Type: System.Int32
The line from the message
- node
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The hierarchy item owning this error
- category
Type: Microsoft.VisualStudio.Shell.TaskCategory
The task category
- errorCategory
Type: Microsoft.VisualStudio.Shell.TaskErrorCategory
The category of the message
- priority
Type: Microsoft.VisualStudio.Shell.TaskPriority
The priority of the message
.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.Common.UI Namespace