InvalidWorkItemTypeException Constructor (String, Exception, String, String)
Initializes a new instance of the InvalidWorkItemTypeException class by using the provided error message, inner exception, expected work item type, and actual work item type.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
public InvalidWorkItemTypeException(
string message,
Exception innerException,
string expected,
string actual
)
public:
InvalidWorkItemTypeException(
String^ message,
Exception^ innerException,
String^ expected,
String^ actual
)
new :
message:string *
innerException:Exception *
expected:string *
actual:string -> InvalidWorkItemTypeException
Public Sub New (
message As String,
innerException As Exception,
expected As String,
actual As String
)
Parameters
message
Type: System.StringThe error message.
innerException
Type: System.ExceptionThe original exception that caused this exception.
expected
Type: System.StringThe expected work item type.
actual
Type: System.StringThe actual work item type.
See Also
InvalidWorkItemTypeException Overload
InvalidWorkItemTypeException Class
Microsoft.TeamFoundation.TestManagement.Client Namespace
Return to top