InvalidWorkItemTypeException Class
Represents the exception that is thrown when the expected work item type does not match the actual work item type.
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
System::Exception
System::ApplicationException
Microsoft.VisualStudio.Services.Common::VssException
Microsoft.TeamFoundation::TeamFoundationServerException
Microsoft.TeamFoundation.TestManagement.Client::TestManagementException
Microsoft.TeamFoundation.TestManagement.Client::TestManagementValidationException
Microsoft.TeamFoundation.TestManagement.Client::InvalidWorkItemTypeException
| Name | Description | |
|---|---|---|
![]() | InvalidWorkItemTypeException(SerializationInfo^, StreamingContext) | Initializes a new instance of the InvalidWorkItemTypeException class for serialization. |
![]() | InvalidWorkItemTypeException(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. |
![]() | InvalidWorkItemTypeException(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. |
| Name | Description | |
|---|---|---|
![]() | Actual | Gets the actual work item type. |
![]() | Data | (Inherited from TeamFoundationServerException.) |
![]() | ErrorCode | Gets or sets the error code.(Inherited from TestManagementException.) |
![]() | EventId | (Inherited from VssException.) |
![]() | Expected | Gets the expected work item type. |
![]() | HelpLink | (Inherited from Exception.) |
![]() | HResult | (Inherited from Exception.) |
![]() | InnerException | (Inherited from Exception.) |
![]() | IsRemoteException | (Inherited from TeamFoundationServerException.) |
![]() | LogException | (Inherited from VssException.) |
![]() | LogLevel | (Inherited from VssException.) |
![]() | Message | (Inherited from Exception.) |
![]() | ReportException | (Inherited from VssException.) |
![]() | Source | (Inherited from Exception.) |
![]() | StackTrace | (Inherited from Exception.) |
![]() | TargetSite | (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetBaseException() | (Inherited from Exception.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo^, StreamingContext) | Populates the provided serialization information object by using data.(Overrides TestManagementException::GetObjectData(SerializationInfo^, StreamingContext).) |
![]() | GetType() | (Inherited from Exception.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
![]() | SerializeObjectState | (Inherited from Exception.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



