Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
DistributedTransactionStarted
?
TransactionStartedEventHandler
System.Transactions.TransactionManager.DistributedTransactionStarted
static
add
remove
Definition at line
153
of file
TransactionManager.cs
.
154
{
155
add
156
{
157
lock (
ClassSyncObject
)
158
{
159
s_distributedTransactionStartedDelegate
= (
TransactionStartedEventHandler
)
Delegate
.Combine(
s_distributedTransactionStartedDelegate
,
value
);
160
if
(
value
!=
null
)
161
{
162
ProcessExistingTransactions
(
value
);
163
}
164
}
165
}
166
remove
167
{
168
lock (
ClassSyncObject
)
169
{
170
s_distributedTransactionStartedDelegate
= (
TransactionStartedEventHandler
)
Delegate
.Remove(
s_distributedTransactionStartedDelegate
,
value
);
171
}
172
}
173
}
System.Transactions.TransactionManager.s_distributedTransactionStartedDelegate
static TransactionStartedEventHandler s_distributedTransactionStartedDelegate
Definition
TransactionManager.cs:16
System.Transactions.TransactionManager.ClassSyncObject
static object ClassSyncObject
Definition
TransactionManager.cs:63
System.Transactions.TransactionManager.ProcessExistingTransactions
static void ProcessExistingTransactions(TransactionStartedEventHandler eventHandler)
Definition
TransactionManager.cs:175
System.Transactions.TransactionStartedEventHandler
delegate void TransactionStartedEventHandler(object? sender, TransactionEventArgs e)
System.ExceptionArgument.value
@ value
System.AttributeTargets.Delegate
@ Delegate
System
Transactions
TransactionManager
Generated by
1.10.0