Partager via


TestObjectInUseException Constructor (String, Exception)

Initializes a new instance of the TestObjectInUseException class by using the provided message and the 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 TestObjectInUseException(
    string message,
    Exception ex
)
public:
TestObjectInUseException(
    String^ message, 
    Exception^ ex
)
new : 
        message:string * 
        ex:Exception -> TestObjectInUseException
public function TestObjectInUseException(
    message : String, 
    ex : Exception
)

Parameters

  • message
    Type: String

    Message describing the exception.

  • ex
    Type: Exception

    The exception.

.NET Framework Security

See Also

Reference

TestObjectInUseException Class

TestObjectInUseException Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace