Search Results for

Show / Hide Table of Contents

# Class TransactionDeadlockException

Indicates a deadlock within Ignite transaction.

This exception can be thrown from any cache method that modifies or reads data within a transaction with timeout (see TxStart(TransactionConcurrency, TransactionIsolation, TimeSpan, Int32) overload).

##### Inheritance

System.Object
IgniteException
TransactionDeadlockException

###### Namespace: Apache.Ignite.Core.Transactions

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public class TransactionDeadlockException : IgniteException

### Constructors

#### TransactionDeadlockException()

Initializes a new instance of the TransactionDeadlockException class.

##### Declaration

    public TransactionDeadlockException()

#### TransactionDeadlockException(SerializationInfo, StreamingContext)

Initializes a new instance of the TransactionDeadlockException class.

##### Declaration

    protected TransactionDeadlockException(SerializationInfo info, StreamingContext ctx)

##### Parameters

Type | Name | Description
--- | --- | ---
SerializationInfo | info | Serialization information.
StreamingContext | ctx | Streaming context.

#### TransactionDeadlockException(String)

Initializes a new instance of the TransactionDeadlockException class.

##### Declaration

    public TransactionDeadlockException(string message)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String | message | The message that describes the error.

#### TransactionDeadlockException(String, Exception)

Initializes a new instance of the TransactionDeadlockException class.

##### Declaration

    public TransactionDeadlockException(string message, Exception cause)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String | message | The message.
Exception | cause | The cause.