Partilhar via


TransactionFailedException Constructor (String)

Initializes a new instance of the TransactionFailedException 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 TransactionFailedException (
    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

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