GeneratorUserException Constructor (String)
Initializes an instance of the GeneratorUserException class with a specified error message.
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 _
)
'Usage
Dim message As String
Dim instance As New GeneratorUserException(message)
public GeneratorUserException(
string message
)
public:
GeneratorUserException(
String^ message
)
public function GeneratorUserException(
message : String
)
Parameters
- message
Type: System.String
A message that describes the error.
Remarks
By default, this constructor sets the Severity to Error and the ErrorType to Unknown.
Permissions
- 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 Members
GeneratorUserException Overload
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
DataException