Share via


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
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

Remarks

Error messages and warning messages appear in the Error List window.

.NET Framework Security

See Also

Reference

ModelingDocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace