Partilhar 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.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

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