|
OpenPetra
Free Administration Software for Non-Profits
|
Thrown in case a caller wants to work with a Transaction and that DB Transaction was started on another Thread (running DB commands on different Threads in the same DB Transaction [and hence on the same DB Connection] isn't supported!). More...
Public Member Functions | |
| EDBAttemptingToWorkWithTransactionThatGotStartedOnDifferentThreadException () | |
| Initializes a new instance of this Exception Class. More... | |
| EDBAttemptingToWorkWithTransactionThatGotStartedOnDifferentThreadException (String AMessage) | |
| Initializes a new instance of this Exception Class with a specified error message. More... | |
| EDBAttemptingToWorkWithTransactionThatGotStartedOnDifferentThreadException (String AMessage, String AThreadIdentifierOfThreadWhichStartedExistingTransaction, string AThreadIdentifierOfThreadWhichWantsToReuseExistingTransaction) | |
| Initializes a new instance of this Exception Class with a specified error message and ThreadIdentifierOfThreadWhichStartedExistingTransaction and ThreadIdentifierOfThreadWhichWantsToReuseExistingTransaction. More... | |
| EDBAttemptingToWorkWithTransactionThatGotStartedOnDifferentThreadException (string AMessage, Exception AInnerException) | |
| Initializes a new instance of this Exception Class with a specified error message and a reference to the inner Exception that is the cause of this Exception. More... | |
| EDBAttemptingToWorkWithTransactionThatGotStartedOnDifferentThreadException (SerializationInfo AInfo, StreamingContext AContext) | |
| Initializes a new instance of this Exception Class with serialized data. Needed for Remoting and general serialization. More... | |
| override void | GetObjectData (SerializationInfo AInfo, StreamingContext AContext) |
| Sets the SerializationInfo with information about this Exception. Needed for Remoting and general serialization. More... | |
| override string | ToString () |
| Creates and returns a string representation of the current EDBAttemptingToWorkWithTransactionThatGotStartedOnDifferentThreadException. More... | |
Properties | |
| String | ThreadIdentifierOfThreadWhichStartedExistingTransaction [get, set] |
| ThreadIdentifier of the Thread which started the existing Transaction. More... | |
| String | ThreadIdentifierOfThreadWhichWantsToReuseExistingTransaction [get, set] |
| ThreadIdentifier of the Thread which wants to reuse an existing Transaction. More... | |
Thrown in case a caller wants to work with a Transaction and that DB Transaction was started on another Thread (running DB commands on different Threads in the same DB Transaction [and hence on the same DB Connection] isn't supported!).
|
inline |
Initializes a new instance of this Exception Class.
|
inline |
Initializes a new instance of this Exception Class with a specified error message.
| AMessage | The error message that explains the reason for the Exception. |
|
inline |
Initializes a new instance of this Exception Class with a specified error message and ThreadIdentifierOfThreadWhichStartedExistingTransaction and ThreadIdentifierOfThreadWhichWantsToReuseExistingTransaction.
| AMessage | The error message that explains the reason for the Exception. |
| AThreadIdentifierOfThreadWhichStartedExistingTransaction | ThreadIdentifier of the Thread which started the existing Transaction. |
| AThreadIdentifierOfThreadWhichWantsToReuseExistingTransaction | ThreadIdentifier of the Thread which wants to reuse an existing Transaction. |
|
inline |
Initializes a new instance of this Exception Class with a specified error message and a reference to the inner Exception that is the cause of this Exception.
| AMessage | The error message that explains the reason for the Exception. |
| AInnerException | The Exception that is the cause of the current Exception, or a null reference if no inner Exception is specified. |
|
inline |
Initializes a new instance of this Exception Class with serialized data. Needed for Remoting and general serialization.
Only to be used by the .NET Serialization system (eg within .NET Remoting).
| AInfo | The SerializationInfo that holds the serialized object data about the Exception being thrown. |
| AContext | The StreamingContext that contains contextual information about the source or destination. |
|
inline |
Sets the SerializationInfo with information about this Exception. Needed for Remoting and general serialization.
Only to be used by the .NET Serialization system (eg within .NET Remoting).
| AInfo | The SerializationInfo that holds the serialized object data about the Exception being thrown. |
| AContext | The StreamingContext that contains contextual information about the source or destination. |
|
inline |
Creates and returns a string representation of the current EDBAttemptingToWorkWithTransactionThatGotStartedOnDifferentThreadException.
See https://msdn.microsoft.com/en-us/library/system.exception.tostring(v=vs.100).aspx for the standard .NET implementation of the System.Exception.ToString() Method.
|
getset |
ThreadIdentifier of the Thread which started the existing Transaction.
|
getset |
ThreadIdentifier of the Thread which wants to reuse an existing Transaction.