ModelingDocData.AddErrorListItem Method
Adds an error or warning message that you can use with the document.
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 Overridable Sub AddErrorListItem ( _
task As ModelingErrorListItem _
)
public virtual void AddErrorListItem(
ModelingErrorListItem task
)
public:
virtual void AddErrorListItem(
ModelingErrorListItem^ task
)
abstract AddErrorListItem :
task:ModelingErrorListItem -> unit
override AddErrorListItem :
task:ModelingErrorListItem -> unit
public function AddErrorListItem(
task : ModelingErrorListItem
)
Parameters
- task
Type: Microsoft.VisualStudio.Modeling.Shell.ModelingErrorListItem
The error or warning message.
Remarks
Error messages and warning messages appear in the Error List window.
.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.