ErrorManager.GetErrorCounts Method

Retrieves the counts of errors that belong to the provided category. Counts are returned for several levels of severity.

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

Syntax

'Declaration
Public Sub GetErrorCounts ( _
    category As Object, _
    <OutAttribute> ByRef errorCount As Integer, _
    <OutAttribute> ByRef warningCount As Integer, _
    <OutAttribute> ByRef messageCount As Integer _
)
public void GetErrorCounts(
    Object category,
    out int errorCount,
    out int warningCount,
    out int messageCount
)
public:
void GetErrorCounts(
    Object^ category, 
    [OutAttribute] int% errorCount, 
    [OutAttribute] int% warningCount, 
    [OutAttribute] int% messageCount
)
member GetErrorCounts : 
        category:Object * 
        errorCount:int byref * 
        warningCount:int byref * 
        messageCount:int byref -> unit 
public function GetErrorCounts(
    category : Object, 
    errorCount : int, 
    warningCount : int, 
    messageCount : int
)

Parameters

  • category
    Type: System.Object
    An Object that represents the document type or object type for to categorize the error. The internal categories are represented as Guid strings.
  • errorCount
    Type: System.Int32%
    A returned int that represents the number of items in the list that have a Severity of Error.
  • warningCount
    Type: System.Int32%
    A returned int that represents the number of items in the list that have a Severity of Warning.
  • messageCount
    Type: System.Int32%
    A returned int that represents the number of items in the list that have a Severity of Message.

.NET Framework Security

See Also

Reference

ErrorManager Class

Microsoft.Data.Schema Namespace

ErrorSeverity

Severity