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