2 writes to CurrentCommand
System.Runtime.DurableInstancing (2)
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (2)
1191
CurrentCommand
= this.currentExecution.Current;
1323
CurrentCommand
= null;
14 references to CurrentCommand
System.Runtime.DurableInstancing (14)
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (14)
251
throw Fx.Exception.AsError(new InstanceHandleConflictException(LastAsyncResult.
CurrentCommand
.Name, InstanceView.InstanceId));
266
throw Fx.Exception.AsError(new InstanceHandleConflictException(LastAsyncResult.
CurrentCommand
.Name, InstanceView.InstanceId));
904
if (RootAsyncResult.
CurrentCommand
.IsTransactionEnlistmentOptional)
1189
bool isFirstCommand =
CurrentCommand
== null;
1199
if (this.priorAsyncResult.
CurrentCommand
.IsTransactionEnlistmentOptional && !
CurrentCommand
.IsTransactionEnlistmentOptional)
1207
if (!
CurrentCommand
.IsTransactionEnlistmentOptional)
1220
bool mayBindLockToInstanceHandle =
CurrentCommand
.AutomaticallyAcquiringLock;
1221
CurrentCommand
.Validate(this.context.InstanceView);
1229
if (!this.priorAsyncResult.
CurrentCommand
.AutomaticallyAcquiringLock)
1263
commandProcessed = this.context.InstanceHandle.Store.TryCommand(this.context,
CurrentCommand
, this.timeoutHelper.RemainingTime());
1287
result = this.context.InstanceHandle.Store.BeginTryCommand(this.context,
CurrentCommand
, this.timeoutHelper.RemainingTime(), PrepareAsyncCompletion(ExecuteAsyncResult.onTryCommand), this);
1406
IEnumerable<InstancePersistenceCommand> reduction =
CurrentCommand
.Reduce(this.context.InstanceView);
1409
throw Fx.Exception.AsError(new NotSupportedException(SRCore.ProviderDoesNotSupportCommand(
CurrentCommand
.Name)));