ValidationException Constructor (String, Exception)
Initializes a ValidationException instance.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Déclaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
public ValidationException(
string message,
Exception innerException
)
public:
ValidationException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> ValidationException
public function ValidationException(
message : String,
innerException : Exception
)
Parameters
- message
Type: System.String
The message for the exception.
- innerException
Type: System.Exception
The exception to encapsulate.
.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.