Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enumerates the error codes for specific error conditions.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Public Enumeration MessageCodes
public enum MessageCodes
public enum class MessageCodes
type MessageCodes
public enum MessageCodes
Members
Member name | Description | |
---|---|---|
Success | The operation was successful. | |
GenericError | Represents a generic error. | |
ObjectNotFound | The object was not found. | |
ObjectInUse | An attempt was made to change an object that is already being used or is otherwise blocked. | |
ObjectAlreadyUpdated | The target object has already been updated. | |
IllegalStateTransition | The specified state change is not valid under current conditions. | |
CannotMoveChildBelow | An attempt was made to move a child element under any possible location. | |
DuplicateSuiteEntry | An attempt was made to add a test suite entry that already exists. | |
TestObjectAlreadyExists | The specified test object already exists. | |
StartDateAfterEndDate | A specified start date cannot occur after the specified end date. | |
ParentSuiteNotFound | The parent test suite was not found. | |
SuiteDepthOverLimit | The number of child levels in the specified test suite cannot be exceeded. | |
CannotMoveSuiteEntriesAcrossPlans | An attempt was made to move a test suite element to another plan. | |
SourceFileNotFound | The specified source file was not found. | |
OneTestId | Not used. | |
BuildNotFound | The build was not found. |
Remarks
The numeric values may change. This depends on the code area where the enumeration is used.