Partilhar via


NotInTransactionException Constructor (String)

Initializes a new instance of the NotInTransactionException class with the specified message text.

Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
public NotInTransactionException (
    string message
)
public:
NotInTransactionException (
    String^ message
)
public NotInTransactionException (
    String message
)
public function NotInTransactionException (
    message : String
)

Parameters

  • message
    A String value that specifies the message text describing the event that caused the exception.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

NotInTransactionException Class
NotInTransactionException Members
Microsoft.SqlServer.Management.Common Namespace