Share via


TestObjectMustBeSavedException Constructor (String, Exception)

Initializes a new instance of the TestObjectMustBeSavedException 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, _
    innerException As Exception _
)
public TestObjectMustBeSavedException(
    string message,
    Exception innerException
)
public:
TestObjectMustBeSavedException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> TestObjectMustBeSavedException
public function TestObjectMustBeSavedException(
    message : String, 
    innerException : Exception
)

Parameters

  • message
    Type: String

    The message for this exception.

  • innerException
    Type: Exception

    The exception that caused this exception.

.NET Framework Security

See Also

Reference

TestObjectMustBeSavedException Class

TestObjectMustBeSavedException Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace