|
OpenPetra
Free Administration Software for Non-Profits
|
Thrown in case a caller wants to create a Command that would be enlisted in a DB Transaction that is different from the current DB Transaction (running DB Commands on a DB Transaction other than the currently running DB Transaction is not supported [because parallel DB Transactions are not supported]). More...
Public Member Functions | |
| EDBAttemptingToCreateCommandEnlistedInDifferentDBTransactionThanTheCurrentDBTransactionException () | |
| Initializes a new instance of this Exception Class. More... | |
| EDBAttemptingToCreateCommandEnlistedInDifferentDBTransactionThanTheCurrentDBTransactionException (String AMessage) | |
| Initializes a new instance of this Exception Class with a specified error message. More... | |
| EDBAttemptingToCreateCommandEnlistedInDifferentDBTransactionThanTheCurrentDBTransactionException (String AMessage, String ATransactionIdentifierOfPassedInTransaction, string ATransactionIdentifierOfCurrentTransactionOfCurrentTDataBaseInstance) | |
| Initializes a new instance of this Exception Class with a specified error message and TransactionIdentifierOfPassedInTransaction and TransactionIdentifierOfCurrentTransactionOfCurrentTDataBaseInstance. More... | |
| EDBAttemptingToCreateCommandEnlistedInDifferentDBTransactionThanTheCurrentDBTransactionException (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... | |
| EDBAttemptingToCreateCommandEnlistedInDifferentDBTransactionThanTheCurrentDBTransactionException (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 EDBAttemptingToCreateCommandEnlistedInDifferentDBTransactionThanTheCurrentDBTransactionException. More... | |
Properties | |
| String | TransactionIdentifierOfPassedInTransaction [get, set] |
| TransactionIdentifier of the Transaction that got passed in as an Argument. More... | |
| String | TransactionIdentifierOfCurrentTransactionOfCurrentTDataBaseInstance [get, set] |
| TransactionIdentifier of the current Transaction of the current TDataBase instance (which should create the Command). More... | |
Thrown in case a caller wants to create a Command that would be enlisted in a DB Transaction that is different from the current DB Transaction (running DB Commands on a DB Transaction other than the currently running DB Transaction is not supported [because parallel DB Transactions are not 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 TransactionIdentifierOfPassedInTransaction and TransactionIdentifierOfCurrentTransactionOfCurrentTDataBaseInstance.
| AMessage | The error message that explains the reason for the Exception. |
| ATransactionIdentifierOfPassedInTransaction | TransactionIdentifier of the Transaction that got passed in as an Argument. |
| ATransactionIdentifierOfCurrentTransactionOfCurrentTDataBaseInstance | TransactionIdentifier of the current Transaction of the current TDataBase instance (which should create the Command). |
|
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 EDBAttemptingToCreateCommandEnlistedInDifferentDBTransactionThanTheCurrentDBTransactionException.
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 |
TransactionIdentifier of the current Transaction of the current TDataBase instance (which should create the Command).
|
getset |
TransactionIdentifier of the Transaction that got passed in as an Argument.