다음을 통해 공유


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.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