Message in Chinese (Traditional) (中文(繁體))
使用中 InstanceStore 的持續性提供者實作無效。它嘗試在處理非交易式命令的同時執行交易式命令。在處理傳回 true 的命令時,若使用會從 InstancePersistenceCommand.IsTransactionEnlistmentOptional 傳回 false 的命令來呼叫 InstancePersistenceContext.Execute 或 InstancePersistenceContext.BeginExecute,就會發生這個例外狀況。請使用不會這麼做的持續性提供者,或覆寫其中一個命令上的 IsTransactionEnlistmentOptional,以傳回正確值。
Unlocalized message
The persistence provider implementation of InstanceStore in use is invalid. It attempted to execute transactional command while processing a non-transactional command. This exception can occur when InstancePersistenceContext.Execute or InstancePersistenceContext.BeginExecute is called with a command that returns false from InstancePersistenceCommand.IsTransactionEnlistmentOptional while processing a command which returns true. Either use a persistence provider which does not do so, or override IsTransactionEnlistmentOptional on one of the commands to return the correct value.
Search by Google