Share via


GeneratorUserException Constructor (String, Severity)

Initializes a new instance of the GeneratorUserException class by using the provided error message and severity setting.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    severity As Severity _
)
public GeneratorUserException(
    string message,
    Severity severity
)
public:
GeneratorUserException(
    String^ message, 
    Severity severity
)
new : 
        message:string * 
        severity:Severity -> GeneratorUserException
public function GeneratorUserException(
    message : String, 
    severity : Severity
)

Parameters

Remarks

The possible severities are Error(), Warning(), and Information().

By default, this constructor sets the ErrorType() property to Unknown().

.NET Framework Security

See Also

Reference

GeneratorUserException Class

GeneratorUserException Overload

Microsoft.Data.Schema.Tools.DataGenerator Namespace

Severity

ErrorType()

ErrorType