Share via


GeneratorUserException Constructor (String, Severity, ErrorType)

Initializes an instance of the GeneratorUserException class with a specified error message, severity, and error type.

Namespace: Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly: Microsoft.VisualStudio.TeamSystem.Data (in microsoft.visualstudio.teamsystem.data.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    severity As Severity, _
    errorType As ErrorType _
)
'Usage
Dim message As String
Dim severity As Severity
Dim errorType As ErrorType

Dim instance As New GeneratorUserException(message, severity, errorType)
public GeneratorUserException (
    string message,
    Severity severity,
    ErrorType errorType
)
public:
GeneratorUserException (
    String^ message, 
    Severity severity, 
    ErrorType errorType
)
public GeneratorUserException (
    String message, 
    Severity severity, 
    ErrorType errorType
)
public function GeneratorUserException (
    message : String, 
    severity : Severity, 
    errorType : ErrorType
)

Parameters

  • message
    A message that describes the error.
  • severity
    The severity of the error.
  • errorType
    The type of the error.

Remarks

The possible severities are Error, Warning, and Information.

The possible error types are Configuration, DataAccess, and Unknown.

See Also

Reference

GeneratorUserException Class
GeneratorUserException Members
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
Message
Severity
DataException
ErrorType Enumeration