ScErrNotWithinATransaction (SCERR4199) - per-samuelsson/GoodTimes GitHub Wiki
Code: 4199 (0x1067)
Text: "Operation failed because a transaction was attached to the thread and the operation was not allowed whtin a transaction."
There is currently no further description available.
There is currently no code example available on how to reproduce error 4199. Please modify the code below in a way that can describe how to produce this error.
using Starcounter;
using System;
class Program {
static void Main(string[] args) {
// Foo can not be successfully invoked if PreFoo() is not
// invoked previously. If Foo() is called like this, it will
// generate an error 4199.
Db.Foo();
}
}There is currently no code example available on how to remedy error 4199. Please modify the code below in a way that can describe how to remedy this error.
using Starcounter;
using System;
class Program {
static void Main(string[] args) {
// We call PreFoo() prior to calling Foo(). Now, we will
// no longer experience error 4199.
Db.PreFoo();
Db.Foo();
}
}There is currently no reference documentation available.
There are currently no conceptual documentation available.
Search the Starcounter issue tracker for
-
all issues on
ScErrNotWithinATransaction(or only open or closed ones). -
all issues on
SCERR4199(or only open or closed ones).
Search the GitHub site for
-
all issues on
ScErrNotWithinATransaction(or only open or closed ones). -
all issues on
SCERR4199(or only open or closed ones).