This documentation is archived and is not being maintained.

MessageCodes Enumeration

Enumerates the error codes for specific error conditions.

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

public enum MessageCodes

Member nameDescription
SuccessThe operation was successful.
GenericErrorRepresents a generic error.
ObjectNotFoundThe object was not found.
ObjectInUseAn attempt was made to change an object that is already being used or is otherwise blocked.
ObjectAlreadyUpdatedThe target object has already been updated.
IllegalStateTransitionThe specified state change is not valid under current conditions.
CannotMoveChildBelowAn attempt was made to move a child element under any possible location.
DuplicateSuiteEntryAn attempt was made to add a test suite entry that already exists.
TestObjectAlreadyExistsThe specified test object already exists.
StartDateAfterEndDateA specified start date cannot occur after the specified end date.
ParentSuiteNotFoundThe parent test suite was not found.
SuiteDepthOverLimitThe number of child levels in the specified test suite cannot be exceeded.
CannotMoveSuiteEntriesAcrossPlansAn attempt was made to move a test suite element to another plan.
SourceFileNotFoundThe specified source file was not found.
OneTestIdNot used.
BuildNotFoundThe build was not found.

The numeric values may change. This depends on the code area where the enumeration is used.