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)

Syntax

'Declaration
Public Enumeration MessageCodes
public enum MessageCodes
public enum class MessageCodes
type MessageCodes
public enum MessageCodes

Members

Member name Description
BuildNotFound The build was not found.
CannotMoveChildBelow An attempt was made to move a child element under any possible location.
CannotMoveSuiteEntriesAcrossPlans An attempt was made to move a test suite element to another plan.
ConflictingOperation
DuplicateSuiteEntry An attempt was made to add a test suite entry that already exists.
GenericError Represents a generic error.
IllegalStateTransition The specified state change is not valid under current conditions.
InvalidArgument
InvalidOperationId
ObjectAlreadyUpdated The target object has already been updated.
ObjectInUse An attempt was made to change an object that is already being used or is otherwise blocked.
ObjectNotFound The object was not found.
ObjectNotFound_StringIdentifier
OneTestId Not used.
ParentSuiteNotFound The parent test suite was not found.
SourceAndDestinationCannotBeInSamePlan
SourceFileNotFound The specified source file was not found.
StartDateAfterEndDate A specified start date cannot occur after the specified end date.
Success The operation was successful.
SuiteDepthOverLimit The number of child levels in the specified test suite cannot be exceeded.
TestObjectAlreadyExists The specified test object already exists.

Remarks

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

See Also

Reference

Microsoft.TeamFoundation.TestManagement.Client Namespace