DataSchemaErrorTask Constructor (String, TaskErrorCategory)
Initializes a new instance of the DataSchemaErrorTask class, given the task text and the error category.
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, _
errorCategory As TaskErrorCategory _
)
'Usage
Dim message As String
Dim errorCategory As TaskErrorCategory
Dim instance As New DataSchemaErrorTask(message, _
errorCategory)
public DataSchemaErrorTask(
string message,
TaskErrorCategory errorCategory
)
public:
DataSchemaErrorTask(
String^ message,
TaskErrorCategory errorCategory
)
public function DataSchemaErrorTask(
message : String,
errorCategory : TaskErrorCategory
)
new :
message:string *
errorCategory:TaskErrorCategory -> DataSchemaErrorTask
Parameters
- message
Type: System.String
The task text
- errorCategory
Type: Microsoft.VisualStudio.Shell.TaskErrorCategory
The category 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