SimpleErrorListItem Constructor
Constructor
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
Public Sub New ( _
text As String, _
fileName As String, _
priority As TaskPriority, _
category As TaskErrorCategory _
)
public SimpleErrorListItem(
string text,
string fileName,
TaskPriority priority,
TaskErrorCategory category
)
public:
SimpleErrorListItem(
String^ text,
String^ fileName,
TaskPriority priority,
TaskErrorCategory category
)
new :
text:string *
fileName:string *
priority:TaskPriority *
category:TaskErrorCategory -> SimpleErrorListItem
public function SimpleErrorListItem(
text : String,
fileName : String,
priority : TaskPriority,
category : TaskErrorCategory
)
Parameters
- text
Type: System.String
The text to display in the error window.
- fileName
Type: System.String
- priority
Type: Microsoft.VisualStudio.Shell.TaskPriority
The priority of the error item.
- category
Type: Microsoft.VisualStudio.Shell.TaskErrorCategory
The category of the error item.
.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.