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
System_CAPS_pubmethod TestObjectNotFoundException(Int32, ObjectTypes)

System_CAPS_protmethod TestObjectNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the TestObjectNotFoundException class from XML by using the provided serialization information and context.

System_CAPS_pubmethod TestObjectNotFoundException(String)

Initializes a new instance of the TestObjectNotFoundException class by using the provided message.

System_CAPS_pubmethod TestObjectNotFoundException(String, Exception)

Initializes a new instance of the TestObjectNotFoundException class by using the provided message and inner exception.

System_CAPS_pubmethod TestObjectNotFoundException(String, ObjectTypes)

Properties

Name Description
System_CAPS_pubproperty Data

(Inherited from TeamFoundationServerException.)

System_CAPS_pubproperty ErrorCode

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

System_CAPS_pubproperty EventId

(Inherited from VssException.)

System_CAPS_pubproperty HelpLink

(Inherited from Exception.)

System_CAPS_pubproperty HResult

(Inherited from Exception.)

System_CAPS_pubproperty Id

Gets the ID for the object that was not found.

System_CAPS_pubproperty InnerException

(Inherited from Exception.)

System_CAPS_pubproperty IsRemoteException

(Inherited from TeamFoundationServerException.)

System_CAPS_pubproperty LogException

(Inherited from VssException.)

System_CAPS_pubproperty LogLevel

(Inherited from VssException.)

System_CAPS_pubproperty Message

(Inherited from Exception.)

System_CAPS_pubproperty ObjectType

Returns the object type of the object that was not found.

System_CAPS_pubproperty ReportException

(Inherited from VssException.)

System_CAPS_pubproperty Source

(Inherited from Exception.)

System_CAPS_pubproperty StackTrace

(Inherited from Exception.)

System_CAPS_pubproperty TargetSite

(Inherited from Exception.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo by using the provided information about the exception.(Overrides TestManagementException.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethod GetType()

(Inherited from Exception.)

System_CAPS_protmethod Initialize(Int32, ObjectTypes)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Exception.)

Events

Name Description
System_CAPS_protevent 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