GeneratorUserException Constructor (String, Severity, ErrorType)
Initializes a new instance of the GeneratorUserException class by using the provided error message, severity setting, and error type.
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, _
errorType As ErrorType _
)
public GeneratorUserException(
string message,
Severity severity,
ErrorType errorType
)
public:
GeneratorUserException(
String^ message,
Severity severity,
ErrorType errorType
)
new :
message:string *
severity:Severity *
errorType:ErrorType -> GeneratorUserException
public function GeneratorUserException(
message : String,
severity : Severity,
errorType : ErrorType
)
Parameters
- message
Type: System.String
A String that contains the message that states the error.
- severity
Type: Microsoft.Data.Schema.Tools.DataGenerator.Severity
A member of the Severity enumeration.
- errorType
Type: Microsoft.Data.Schema.Tools.DataGenerator.ErrorType
A member of the ErrorType enumeration.
Remarks
The possible severities are Error(), Warning(), and Information().
The possible error types are Configuration(), DataAccess(), and Unknown().
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
GeneratorUserException Overload
Microsoft.Data.Schema.Tools.DataGenerator Namespace
Severity
ErrorType