TestObjectNotFoundException Class
Represents the exception that is thrown when a test object is required but not found.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Inheritance Hierarchy
System.Object
System.Exception
System.ApplicationException
Microsoft.VisualStudio.Services.Common.VssException
Microsoft.TeamFoundation.TeamFoundationServerException
Microsoft.TeamFoundation.TestManagement.Client.TestManagementException
Microsoft.TeamFoundation.TestManagement.Client.TestObjectNotFoundException
Microsoft.TeamFoundation.TestManagement.Client.StoredQueryNotFoundException
Syntax
public class TestObjectNotFoundException : TestManagementException
public ref class TestObjectNotFoundException : TestManagementException
type TestObjectNotFoundException =
class
inherit TestManagementException
end
Public Class TestObjectNotFoundException
Inherits TestManagementException
Constructors
Name | Description | |
---|---|---|
TestObjectNotFoundException(Int32, ObjectTypes) | ||
TestObjectNotFoundException(SerializationInfo, StreamingContext) | Initializes a new instance of the TestObjectNotFoundException class from XML by using the provided serialization information and context. |
|
TestObjectNotFoundException(String) | Initializes a new instance of the TestObjectNotFoundException class by using the provided message. |
|
TestObjectNotFoundException(String, Exception) | Initializes a new instance of the TestObjectNotFoundException class by using the provided message and inner exception. |
|
TestObjectNotFoundException(String, ObjectTypes) |
Properties
Name | Description | |
---|---|---|
Data | (Inherited from TeamFoundationServerException.) |
|
ErrorCode | Gets or sets the error code.(Inherited from TestManagementException.) |
|
EventId | (Inherited from VssException.) |
|
HelpLink | (Inherited from Exception.) |
|
HResult | (Inherited from Exception.) |
|
Id | Gets the ID for the object that was not found. |
|
InnerException | (Inherited from Exception.) |
|
IsRemoteException | (Inherited from TeamFoundationServerException.) |
|
LogException | (Inherited from VssException.) |
|
LogLevel | (Inherited from VssException.) |
|
Message | (Inherited from Exception.) |
|
ObjectType | Returns the object type of the object that was not found. |
|
ReportException | (Inherited from VssException.) |
|
Source | (Inherited from Exception.) |
|
StackTrace | (Inherited from Exception.) |
|
TargetSite | (Inherited from Exception.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetBaseException() | (Inherited from Exception.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetObjectData(SerializationInfo, StreamingContext) | Sets the SerializationInfo by using the provided information about the exception.(Overrides TestManagementException.GetObjectData(SerializationInfo, StreamingContext).) |
|
GetType() | (Inherited from Exception.) |
|
Initialize(Int32, ObjectTypes) | ||
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Exception.) |
Events
Name | Description | |
---|---|---|
SerializeObjectState | (Inherited from Exception.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
TestManagementException
Microsoft.TeamFoundation.TestManagement.Client Namespace
Return to top