13 types derived from InstancePersistenceCommand
System.Activities (8)
System\Activities\DurableInstancing\CreateWorkflowOwnerCommand.cs (1)
14public sealed class CreateWorkflowOwnerCommand : InstancePersistenceCommand
System\Activities\DurableInstancing\CreateWorkflowOwnerWithIdentityCommand.cs (1)
14public sealed class CreateWorkflowOwnerWithIdentityCommand : InstancePersistenceCommand
System\Activities\DurableInstancing\DeleteWorkflowOwnerCommand.cs (1)
14public sealed class DeleteWorkflowOwnerCommand : InstancePersistenceCommand
System\Activities\DurableInstancing\LoadWorkflowByInstanceKeyCommand.cs (1)
15public sealed class LoadWorkflowByInstanceKeyCommand : InstancePersistenceCommand
System\Activities\DurableInstancing\LoadWorkflowCommand.cs (1)
13public sealed class LoadWorkflowCommand : InstancePersistenceCommand
System\Activities\DurableInstancing\QueryActivatableWorkflowsCommand.cs (1)
14public sealed class QueryActivatableWorkflowsCommand : InstancePersistenceCommand
System\Activities\DurableInstancing\SaveWorkflowCommand.cs (1)
15public sealed class SaveWorkflowCommand : InstancePersistenceCommand
System\Activities\DurableInstancing\TryLoadRunnableWorkflowCommand.cs (1)
11public sealed class TryLoadRunnableWorkflowCommand : InstancePersistenceCommand
System.Activities.DurableInstancing (5)
System\Activities\DurableInstancing\DetectActivatableWorkflowsCommand.cs (1)
9sealed class DetectActivatableWorkflowsCommand : InstancePersistenceCommand
System\Activities\DurableInstancing\DetectRunnableInstancesCommand.cs (1)
9sealed class DetectRunnableInstancesCommand : InstancePersistenceCommand
System\Activities\DurableInstancing\ExtendLockCommand.cs (1)
9sealed class ExtendLockCommand : InstancePersistenceCommand
System\Activities\DurableInstancing\RecoverInstanceLocksCommand.cs (1)
9sealed class RecoverInstanceLocksCommand : InstancePersistenceCommand
System\Activities\DurableInstancing\UnlockInstanceCommand.cs (1)
9sealed class UnlockInstanceCommand : InstancePersistenceCommand
56 references to InstancePersistenceCommand
System.Activities (4)
System\Activities\WorkflowApplication.cs (4)
1541static InstanceView ExecuteInstanceCommandWithTemporaryHandle(InstanceStore instanceStore, InstancePersistenceCommand command, TimeSpan timeout) 5311InstancePersistenceCommand command; 5317public InstanceCommandWithTemporaryHandleAsyncResult(InstanceStore instanceStore, InstancePersistenceCommand command, 5889static InstancePersistenceCommand GetCreateOwnerCommand(WorkflowIdentity definitionIdentity)
System.Activities.DurableInstancing (28)
System\Activities\DurableInstancing\CreateWorkflowOwnerAsyncResult.cs (1)
31InstancePersistenceCommand command,
System\Activities\DurableInstancing\DeleteWorkflowOwnerAsyncResult.cs (1)
21InstancePersistenceCommand command,
System\Activities\DurableInstancing\DetectActivatableWorkflowsAsyncResult.cs (1)
22InstancePersistenceCommand command,
System\Activities\DurableInstancing\DetectRunnableInstancesAsyncResult.cs (1)
22InstancePersistenceCommand command,
System\Activities\DurableInstancing\ExtendLockAsyncResult.cs (1)
21InstancePersistenceCommand command,
System\Activities\DurableInstancing\LoadRetryAsyncResult.cs (2)
24InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state) 48InstancePersistenceCommand InstancePersistenceCommand
System\Activities\DurableInstancing\LoadWorkflowAsyncResult.cs (1)
29InstancePersistenceCommand command,
System\Activities\DurableInstancing\LoadWorkflowByKeyAsyncResult.cs (1)
17InstancePersistenceCommand command,
System\Activities\DurableInstancing\PersistenceTask.cs (2)
15InstancePersistenceCommand instancePersistenceCommand; 22public PersistenceTask(SqlWorkflowInstanceStore store, SqlWorkflowInstanceStoreLock storeLock, InstancePersistenceCommand instancePersistenceCommand, TimeSpan taskInterval, TimeSpan taskTimeout, bool automaticallyResetTimer)
System\Activities\DurableInstancing\QueryActivatableWorkflowAsyncResult.cs (1)
23InstancePersistenceCommand command,
System\Activities\DurableInstancing\RecoverInstanceLocksAsyncResult.cs (1)
21InstancePersistenceCommand command,
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (1)
49InstancePersistenceCommand command,
System\Activities\DurableInstancing\SerializationUtilities.cs (1)
292public static string GetIdentityMetadataXml(InstancePersistenceCommand command)
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (6)
330protected internal override IAsyncResult BeginTryCommand(InstancePersistenceContext context, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state) 355internal IAsyncResult BeginTryCommandSkipRetry(InstancePersistenceContext context, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state) 391internal IAsyncResult BeginTryCommandInternalWithVersionCheck(InstancePersistenceContext context, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state, Version targetVersion) 398internal IAsyncResult BeginTryCommandInternal(InstancePersistenceContext context, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state) 403internal IAsyncResult BeginTryCommandInternal(InstancePersistenceContext context, InstancePersistenceCommand command, Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 611bool IsRetryCommand(InstancePersistenceCommand command)
System\Activities\DurableInstancing\SqlWorkflowInstanceStoreAsyncResult.cs (3)
25InstancePersistenceCommand command, 41InstancePersistenceCommand command, 76protected InstancePersistenceCommand InstancePersistenceCommand
System\Activities\DurableInstancing\TestVersionAndRunAsyncResult.cs (1)
27InstancePersistenceCommand command,
System\Activities\DurableInstancing\TryLoadRunnableWorkflowAsyncResult.cs (1)
21InstancePersistenceCommand command,
System\Activities\DurableInstancing\UnlockInstanceAsyncResult.cs (1)
20InstancePersistenceCommand command,
System\Activities\DurableInstancing\WorkflowOwnerAsyncResult.cs (1)
21InstancePersistenceCommand command,
System.Runtime.DurableInstancing (20)
System\Runtime\DurableInstancing\InstancePersistenceCommand.cs (1)
46internal virtual IEnumerable<InstancePersistenceCommand> Reduce(InstanceView view)
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (15)
688public void Execute(InstancePersistenceCommand command, TimeSpan timeout) 715public IAsyncResult BeginExecute(InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state) 806internal static InstanceView OuterExecute(InstanceHandle initialInstanceHandle, InstancePersistenceCommand command, Transaction transaction, TimeSpan timeout) 824internal static IAsyncResult BeginOuterExecute(InstanceHandle initialInstanceHandle, InstancePersistenceCommand command, Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 943readonly Stack<IEnumerator<InstancePersistenceCommand>> executionStack; 949IEnumerator<InstancePersistenceCommand> currentExecution; 958public ExecuteAsyncResult(InstanceHandle initialInstanceHandle, InstancePersistenceCommand command, Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 991public ExecuteAsyncResult(InstancePersistenceContext context, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state) 1027public ExecuteAsyncResult(InstanceHandle initialInstanceHandle, InstancePersistenceCommand command, Transaction transaction, TimeSpan timeout) 1070public ExecuteAsyncResult(InstancePersistenceContext context, InstancePersistenceCommand command, TimeSpan timeout) 1097ExecuteAsyncResult(InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state) 1100this.executionStack = new Stack<IEnumerator<InstancePersistenceCommand>>(2); 1103this.currentExecution = (new List<InstancePersistenceCommand> { command }).GetEnumerator(); 1106internal InstancePersistenceCommand CurrentCommand { get; private set; } 1406IEnumerable<InstancePersistenceCommand> reduction = CurrentCommand.Reduce(this.context.InstanceView);
System\Runtime\DurableInstancing\InstanceStore.cs (4)
68public InstanceView Execute(InstanceHandle handle, InstancePersistenceCommand command, TimeSpan timeout) 88public IAsyncResult BeginExecute(InstanceHandle handle, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state) 235protected internal virtual bool TryCommand(InstancePersistenceContext context, InstancePersistenceCommand command, TimeSpan timeout) 241protected internal virtual IAsyncResult BeginTryCommand(InstancePersistenceContext context, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state)
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (2)
464InstancePersistenceCommand GetCreateOwnerCommand() 466InstancePersistenceCommand command;
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (2)
508InstancePersistenceCommand CreateLoadCommandHelper(InstanceKey key, out InstanceHandle handle, bool canCreateInstance, Guid suggestedIdOrId, ICollection<InstanceKey> associatedKeys, bool loadAny) 974InstancePersistenceCommand loadCommand = this.ppd.CreateLoadCommandHelper(this.key, out this.handle, this.canCreateInstance, this.suggestedIdOrId, this.associatedKeys, this.loadAny);