Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

InvalidWorkItemTypeException Class

 

Represents the exception that is thrown when the expected work item type does not match the actual work item type.

Namespace:   Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)


[SerializableAttribute]
public class InvalidWorkItemTypeException : TestManagementValidationException

NameDescription
System_CAPS_protmethodInvalidWorkItemTypeException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidWorkItemTypeException class for serialization.

System_CAPS_pubmethodInvalidWorkItemTypeException(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.

System_CAPS_pubmethodInvalidWorkItemTypeException(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.

NameDescription
System_CAPS_pubpropertyActual

Gets the actual work item type.

System_CAPS_pubpropertyData
System_CAPS_pubpropertyErrorCode

Gets or sets the error code.(Inherited from TestManagementException.)

System_CAPS_pubpropertyEventId

(Inherited from VssException.)

System_CAPS_pubpropertyExpected

Gets the expected work item type.

System_CAPS_pubpropertyHelpLink

(Inherited from Exception.)

System_CAPS_pubpropertyHResult

(Inherited from Exception.)

System_CAPS_pubpropertyInnerException

(Inherited from Exception.)

System_CAPS_pubpropertyIsRemoteException
System_CAPS_pubpropertyLogException

(Inherited from VssException.)

System_CAPS_pubpropertyLogLevel

(Inherited from VssException.)

System_CAPS_pubpropertyMessage

(Inherited from Exception.)

System_CAPS_pubpropertyReportException

(Inherited from VssException.)

System_CAPS_pubpropertySource

(Inherited from Exception.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyTargetSite

(Inherited from Exception.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

Populates the provided serialization information object by using data.(Overrides TestManagementException.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethodGetType()

(Inherited from Exception.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Exception.)

NameDescription
System_CAPS_proteventSerializeObjectState

(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.

Return to top
Show: