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