NotInTransactionException Members

The NotInTransactionException class is an exception that is raised when an error occurs within a transaction on the referenced connection to the server.

The following tables list the members exposed by the NotInTransactionException type.

Public Constructors

  名称 Description
NotInTransactionException Overloaded. Initializes a new instance of the NotInTransactionException class.

顶部

Public Properties

(see also Protected Properties )

  名称 Description
ms218609.pubproperty(zh-cn,SQL.90).gif Data  (inherited from Exception )
ms218609.pubproperty(zh-cn,SQL.90).gif HelpLink  (inherited from Exception )
ms218609.pubproperty(zh-cn,SQL.90).gif InnerException  (inherited from Exception )
ms218609.pubproperty(zh-cn,SQL.90).gif Message  (inherited from Exception )
ms218609.pubproperty(zh-cn,SQL.90).gif Source  (inherited from Exception )
ms218609.pubproperty(zh-cn,SQL.90).gif StackTrace  (inherited from Exception )
ms218609.pubproperty(zh-cn,SQL.90).gif TargetSite  (inherited from Exception )

顶部

Protected Properties

  名称 Description
ms218609.protproperty(zh-cn,SQL.90).gif HResult  (inherited from Exception )

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms218609.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms218609.pubmethod(zh-cn,SQL.90).gif GetBaseException  (inherited from Exception )
ms218609.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms218609.pubmethod(zh-cn,SQL.90).gif GetObjectData  (inherited from Exception )
ms218609.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Exception )
ms218609.pubmethod(zh-cn,SQL.90).gifms218609.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms218609.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Exception )

顶部

Protected Methods

  名称 Description
ms218609.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms218609.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

请参阅

参考

NotInTransactionException Class
Microsoft.SqlServer.Management.Common Namespace