Sdílet prostřednictvím


TestFailureException Constructor (String)

Initializes a new instance of the TestFailureException class with a specified error message.

Namespace: Microsoft.SpecExplorer.Runtime.Testing
Assembly: Microsoft.SpecExplorer.Runtime (in Microsoft.SpecExplorer.Runtime.dll)

Usage

'Usage

Syntax

'Declaration
public TestFailureException (
    string message
)

Parameters

  • message
    The error message that explains the reason for the exception.

Remarks

This constructor initializes the Message property of the new instance to message.

Platforms

Development Platforms

Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003

See Also

Reference

TestFailureException Class
TestFailureException Members
Microsoft.SpecExplorer.Runtime.Testing Namespace