Delen via


TestManagementInvalidOperationException Constructor (String, Exception)

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

Parameters

  • message
    Type: String

    A message for the exception.

  • ex
    Type: Exception

    The exception that caused the current exception.

.NET Framework Security

See Also

Reference

TestManagementInvalidOperationException Class

TestManagementInvalidOperationException Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace