InvalidWorkItemTypeException Constructor (String, String, String)
Initializes a new instance of the InvalidWorkItemTypeException class by using the provided error message, 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
'Declaration
Public Sub New ( _
message As String, _
expected As String, _
actual As String _
)
public InvalidWorkItemTypeException(
string message,
string expected,
string actual
)
public:
InvalidWorkItemTypeException(
String^ message,
String^ expected,
String^ actual
)
new :
message:string *
expected:string *
actual:string -> InvalidWorkItemTypeException
public function InvalidWorkItemTypeException(
message : String,
expected : String,
actual : String
)
Parameters
message
Type: StringThe error message.
expected
Type: StringThe expected work item type.
actual
Type: StringThe actual work item type.
.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
InvalidWorkItemTypeException Class