ErrorManager.AddPersistedCategory Method

Designates that errors added to the Errors List window of Visual Studio, together with the provided category, will be persisted.

Namespace:  Microsoft.Data.Schema
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Shared Sub AddPersistedCategory ( _
    category As Object _
)
public static void AddPersistedCategory(
    Object category
)
public:
static void AddPersistedCategory(
    Object^ category
)
static member AddPersistedCategory : 
        category:Object -> unit 
public static function AddPersistedCategory(
    category : Object
)

Parameters

  • category
    Type: System.Object
    An Object that represents the document type or object type to categorize the error. The internal categories are represented as Guid strings.

Remarks

Not all errors added to the Visual Studio Errors List are persisted. This method gives the ErrorManager a means to determine which errors are to be persisted.

.NET Framework Security

See Also

Reference

ErrorManager Class

Microsoft.Data.Schema Namespace