Share via


TestObjectNotFoundException Constructor (String, Exception)

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

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    ex As Exception _
)
public TestObjectNotFoundException(
    string message,
    Exception ex
)
public:
TestObjectNotFoundException(
    String^ message, 
    Exception^ ex
)
new : 
        message:string * 
        ex:Exception -> TestObjectNotFoundException
public function TestObjectNotFoundException(
    message : String, 
    ex : Exception
)

Parameters

  • message
    Type: String

    The message for this exception.

  • ex
    Type: Exception

    The exception that caused this exception.

.NET Framework Security

See Also

Reference

TestObjectNotFoundException Class

TestObjectNotFoundException Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace