2 writes to host
System.Activities (2)
System\Activities\Runtime\ActivityExecutor.cs (2)
118this.host = host; 1772this.host = workflowInstance;
56 references to host
System.Activities (56)
System\Activities\Runtime\ActivityExecutor.cs (56)
228return this.host != null; 236return this.host.HasTrackingParticipant && this.host.TrackingProvider.HasPendingRecords; 244return this.host.HasTrackingParticipant && this.host.TrackingProvider.ShouldTrack; 252return this.host.HasTrackingParticipant && this.host.TrackingProvider.ShouldTrackBookmarkResumptionRecords; 260return this.host.HasTrackingParticipant && this.host.TrackingProvider.ShouldTrackActivityScheduledRecords; 268return this.host.HasTrackingParticipant && this.host.TrackingProvider.ShouldTrackActivityStateRecords; 276return this.host.HasTrackingParticipant && this.host.TrackingProvider.ShouldTrackActivityStateRecordsExecutingState; 284return this.host.HasTrackingParticipant && this.host.TrackingProvider.ShouldTrackActivityStateRecordsClosedState; 292return this.host.HasTrackingParticipant && this.host.TrackingProvider.ShouldTrackCancelRequestedRecords; 300return this.host.HasTrackingParticipant && this.host.TrackingProvider.ShouldTrackFaultPropagationRecords; 312this.symbolResolver = this.host.GetExtension<SymbolResolver>(); 370WorkflowInstanceId = this.host.Id; 373throw FxTrace.Exception.AsError(new InvalidOperationException(SR.EmptyIdReturnedFromHost(this.host.GetType()))); 439return this.host.SupportsInstanceKeys; 633ExceptionPersistenceExtension extension = this.host.GetExtension<ExceptionPersistenceExtension>(); 967this.debugController = new DebugController(this.host); 983Fx.Assert(this.host.TrackingProvider != null, "We should only add records if we have a tracking provider."); 985this.host.TrackingProvider.AddRecord(record); 990Fx.Assert(this.host.TrackingProvider != null, "We should only add records if we have a tracking provider."); 991return this.host.TrackingProvider.ShouldTrackActivity(name); 996Fx.Assert(this.host.TrackingProvider != null, "We should only try to track if we have a tracking provider."); 997return this.host.BeginFlushTrackingRecordsInternal(callback, state); 1002Fx.Assert(this.host.TrackingProvider != null, "We should only try to track if we have a tracking provider."); 1003this.host.EndFlushTrackingRecordsInternal(result); 1534this.host.Abort(reason); 1538this.host.OnRequestAbort(reason); 1778if (this.host.Id != this.instanceId) 1780throw FxTrace.Exception.AsError(new InvalidOperationException(SR.HostIdDoesNotMatchInstance(this.host.Id, this.instanceId))); 1783if (this.host.HasTrackingParticipant) 1785this.host.TrackingProvider.OnDeserialized(this.nextTrackingRecordNumber); 1786this.host.OnDeserialized(this.hasTrackedStarted); 1830extension = this.host.GetExtension<T>(); 1992this.host.OnDisassociateKeys(keysToDisassociate); 2376this.host.NotifyUnhandledException(exception, source.Activity, source.Id); 2451this.host.NotifyPaused(); 2482if (this.host.HasTrackingParticipant) 2484this.nextTrackingRecordNumber = this.host.TrackingProvider.NextTrackingRecordNumber; 2485this.hasTrackedStarted = this.host.HasTrackedStarted; 2642return this.host.OnBeginResumeBookmark(bookmark, value, timeout, callback, state); 2647return this.host.OnEndResumeBookmark(result); 3184result = executor.host.OnBeginPersist(Fx.ThunkCallback(new AsyncCallback(OnPersistComplete)), executor); 3188executor.host.OnEndPersist(result); 3215executor.host.OnEndPersist(result); 4244result = this.executor.host.OnBeginPersist(PrepareAsyncCompletion(TransactionalPersistAsyncResult.onPersistComplete), this); 4273thisPtr.executor.host.OnEndPersist(result); 4463result = this.executor.host.OnBeginAssociateKeys(keysToAssociate, PrepareAsyncCompletion(associatedCallback), this); 4474thisPtr.executor.host.OnEndAssociateKeys(result);