2 instantiations of WorkflowServiceInstance
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (2)
310WorkflowServiceInstance instance = new WorkflowServiceInstance(host); 322WorkflowServiceInstance workflowInstance = new WorkflowServiceInstance(workflowDefinition, definitionIdentity, instanceId, serviceHost, persistenceContext)
82 references to WorkflowServiceInstance
System.ServiceModel.Activities (82)
System\ServiceModel\Activities\Description\WorkflowOperationBehavior.cs (2)
162protected override IAsyncResult OnBeginServiceOperation(WorkflowServiceInstance workflowInstance, OperationContext operationContext, 172protected override object OnEndServiceOperation(WorkflowServiceInstance durableInstance, out object[] outputs, IAsyncResult result)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (5)
186protected virtual IAsyncResult OnBeginServiceOperation(WorkflowServiceInstance durableInstance, 193protected virtual object OnEndServiceOperation(WorkflowServiceInstance durableInstance, out object[] outputs, IAsyncResult result) 281WorkflowServiceInstance workflowServiceInstance; 979WorkflowServiceInstance durableInstance; 987public ServiceOperationAsyncResult(IOperationInvoker innerInvoker, WorkflowServiceInstance durableInstance,
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (6)
281internal WorkflowServiceInstance EndGetInstance(IAsyncResult result) 760WorkflowServiceInstance currentInstance = null; 869WorkflowServiceInstance.EndReleaseInstanceForClose(result); 998WorkflowServiceInstance durableInstance; 1057public static WorkflowServiceInstance End(IAsyncResult result) 1340WorkflowServiceInstance currentInstance;
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (3)
40WorkflowServiceInstance workflowInstance; 289public WorkflowServiceInstance GetInstance(WorkflowGetInstanceContext parameters) 301WorkflowServiceInstance result;
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (4)
95public WorkflowServiceInstance InitializeInstance(Guid instanceId, PersistenceContext context, IDictionary<XName, InstanceValue> instance, WorkflowCreationContext creationContext) 101return WorkflowServiceInstance.InitializeInstance(context, instanceId, workflowDefinition, this.workflowDefinitionProvider.DefaultDefinitionIdentity, instance, creationContext, 105public WorkflowServiceInstance InitializeInstance(Guid instanceId, PersistenceContext context, WorkflowIdentity definitionIdentity, WorkflowIdentityKey updatedIdentity, IDictionary<XName, InstanceValue> instance, WorkflowCreationContext creationContext) 131return WorkflowServiceInstance.InitializeInstance(context, instanceId, workflowDefinition, definitionToLoad, instance, creationContext,
System\ServiceModel\Activities\Dispatcher\TransactionContext.cs (2)
22WorkflowServiceInstance durableInstance; 24public TransactionContext(WorkflowServiceInstance durableInstance, Transaction currentTransaction)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (56)
310WorkflowServiceInstance instance = new WorkflowServiceInstance(host); 315public static WorkflowServiceInstance InitializeInstance(PersistenceContext persistenceContext, Guid instanceId, Activity workflowDefinition, WorkflowIdentity definitionIdentity, IDictionary<XName, InstanceValue> loadedObject, WorkflowCreationContext creationContext, 322WorkflowServiceInstance workflowInstance = new WorkflowServiceInstance(workflowDefinition, definitionIdentity, instanceId, serviceHost, persistenceContext) 1338WorkflowServiceInstance thisPtr = (WorkflowServiceInstance)result.AsyncState; 1370WorkflowServiceInstance thisPtr = (WorkflowServiceInstance)result.AsyncState; 1448WorkflowServiceInstance thisPtr = data.Instance; 1980WorkflowServiceInstance instance; 1984public AcquireLockAsyncData(WorkflowServiceInstance instance, FastAsyncCallback callback, object state) 1991public WorkflowServiceInstance Instance 2204WorkflowServiceInstance thisPtr = (WorkflowServiceInstance)result.AsyncState; 2426WorkflowServiceInstance workflowInstance; 2432public ReleaseInstanceAsyncResult(WorkflowServiceInstance workflowServiceInstance, 2771WorkflowServiceInstance instance; 2775public TryAcquireReferenceAsyncResult(WorkflowServiceInstance instance, TimeSpan timeout, AsyncCallback callback, object state) 2902readonly WorkflowServiceInstance workflow; 2908public AssociateKeysAsyncResult(WorkflowServiceInstance workflow, ICollection<InstanceKey> associatedKeys, Transaction transaction, 2990WorkflowServiceInstance instance; 3002public ResumeProtocolBookmarkAsyncResult(WorkflowServiceInstance instance, Bookmark bookmark, object value, BookmarkScope bookmarkScope, bool isResumeProtocolBookmark, TimeSpan timeout, AsyncCallback callback, object state) 3346WorkflowServiceInstance instance; 3365public UnloadOrPersistAsyncResult(WorkflowServiceInstance instance, PersistenceOperation operation, 4041protected WorkflowServiceInstance instance; 4045protected SimpleOperationAsyncResult(WorkflowServiceInstance instance, Transaction transaction, AsyncCallback callback, object state) 4053protected WorkflowServiceInstance Instance 4265TerminateAsyncResult(WorkflowServiceInstance instance, Exception reason, Transaction transaction, AsyncCallback callback, object state) 4271public static TerminateAsyncResult Create(WorkflowServiceInstance instance, Exception reason, Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 4325AbandonAsyncResult(WorkflowServiceInstance instance, Exception reason, bool shouldTrackAbort, AsyncCallback callback, object state) 4332public static AbandonAsyncResult Create(WorkflowServiceInstance instance, Exception reason, bool shouldTrackAbort, TimeSpan timeout, AsyncCallback callback, object state) 4434AbandonAndSuspendAsyncResult(WorkflowServiceInstance instance, Exception reason, AsyncCallback callback, object state) 4440public static AbandonAndSuspendAsyncResult Create(WorkflowServiceInstance instance, Exception reason, TimeSpan timeout, AsyncCallback callback, object state) 4518CancelAsyncResult(WorkflowServiceInstance instance, Transaction transaction, AsyncCallback callback, object state) 4523public static CancelAsyncResult Create(WorkflowServiceInstance instance, Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 4574RunAsyncResult(WorkflowServiceInstance instance, Transaction transaction, string operationName, AsyncCallback callback, object state) 4580public static RunAsyncResult Create(WorkflowServiceInstance instance, Transaction transaction, string operationName, TimeSpan timeout, AsyncCallback callback, object state) 4615SuspendAsyncResult(WorkflowServiceInstance instance, bool isUnlocked, string reason, Transaction transaction, AsyncCallback callback, object state) 4622public static SuspendAsyncResult Create(WorkflowServiceInstance instance, bool isUnlocked, string reason, Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 4729UnsuspendAsyncResult(WorkflowServiceInstance instance, Transaction transaction, AsyncCallback callback, object state) 4734public static UnsuspendAsyncResult Create(WorkflowServiceInstance instance, Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 4778WorkflowServiceInstance instance; 4782public AcquireLockOnIdleAsyncResult(WorkflowServiceInstance instance, TimeSpan timeout, ref bool ownsLock, AsyncCallback callback, object state) 4971WorkflowServiceInstance instance; 4977public WaitForCanPersistAsyncResult(WorkflowServiceInstance instance, ref bool ownsLock, TimeSpan timeout, AsyncCallback callback, object state) 5170WorkflowServiceInstance instance; 5182public WorkflowExecutionLock(WorkflowServiceInstance instance) 5531public UnhandledExceptionAsyncData(WorkflowServiceInstance instance, Exception exception, Activity exceptionSource) 5546public WorkflowServiceInstance Instance 5561WorkflowServiceInstance instance; 5565public WorkflowPersistenceContext(WorkflowServiceInstance instance, bool transactionRequired, Transaction transactionToUse, TimeSpan transactionTimeout) 5644WorkflowServiceInstance instance; 5653public UnloadInstancePolicyHelper(WorkflowServiceInstance instance, TimeSpan timeToPersist, TimeSpan timeToUnload) 5908WorkflowServiceInstance instance; 5912public UnlockAndAbortAsyncResult(WorkflowServiceInstance instance, TimeSpan timeout, AsyncCallback callback, object state) 6031WorkflowServiceInstance instance; 6034public UnhandledExceptionPolicyHelper(WorkflowServiceInstance instance, WorkflowUnhandledExceptionAction action)
System\ServiceModel\Activities\WorkflowOperationContext.cs (3)
42WorkflowServiceInstance workflowInstance; 71WorkflowServiceInstance workflowInstance, IInvokeReceivedNotification notification, WorkflowOperationBehavior behavior, ServiceEndpoint endpoint, 200public static IAsyncResult BeginProcessRequest(WorkflowServiceInstance workflowInstance, OperationContext operationContext, string operationName,
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
514this.IsLoadTransactionRequired = WorkflowServiceInstance.IsLoadTransactionRequired(this);