This documentation is archived and is not being maintained.

ErrorManager.AddPersistedCategory Method

Visual Studio 2010

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)

public static void AddPersistedCategory(
	Object 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.

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.