258 references to SetValue
System.Workflow.Activities (56)
Common\BasePropertyDescriptor.cs (1)
519binding.SetValue(WorkflowParameterBinding.ValueProperty, value);
ConditionalBranch.cs (1)
55base.SetValue(ConditionProperty, value);
ConstrainedGroup.cs (3)
73(dependencyObject as DependencyObject).SetValue(WhenConditionProperty, value); 87base.SetValue(UntilConditionProperty, value); 200base.SetValue(CAGStateProperty, value);
Delay.cs (4)
81base.SetValue(TimeoutDurationProperty, value); 93this.SetValue(QueueNameProperty, Guid.NewGuid()); 183base.SetValue(DelayActivity.SubscriptionIDProperty, value); 194base.SetValue(DelayActivity.IsInEventActivityModeProperty, value);
Designers\CAGDesigner.cs (1)
101activity.SetValue(ConditionedActivityGroup.WhenConditionProperty, handler);
EventHandlers.cs (2)
54base.SetValue(ActivityStateProperty, value); 66base.SetValue(IsScopeCompletedProperty, value);
EventSinkActivity.cs (5)
75base.SetValue(EventNameProperty, value); 94base.SetValue(InterfaceTypeProperty, value); 120base.SetValue(RolesProperty, value); 165base.SetValue(ActivitySubscribedProperty, value); 223this.SetValue(QueueNameProperty, queueName);
InvokeMethodActivity.cs (2)
72base.SetValue(InterfaceTypeProperty, value); 91base.SetValue(MethodNameProperty, value);
InvokeSchedule.cs (2)
76base.SetValue(TargetWorkflowProperty, value); 93base.SetValue(InstanceIdProperty, value);
InvokeWebService.cs (5)
95base.SetValue(SessionCookieContainerProperty, value); 177rootActivity.SetValue(SessionCookieMapProperty, sessionCookieContainers); 227base.SetValue(ProxyClassProperty, value); 244base.SetValue(MethodNameProperty, value); 293base.SetValue(SessionIdProperty, value);
Listen.cs (2)
202base.SetValue(IsListenTrigerredProperty, value); 216base.SetValue(ActivityStateProperty, value);
Parallel.cs (1)
187base.SetValue(IsExecutingProperty, value);
Policy.cs (1)
92base.SetValue(RuleSetReferenceProperty, value);
Rules\ConditionChanges.cs (2)
93((Activity)rootActivity).SetValue(RuleDefinitions.RuleDefinitionsProperty, rules); 323((Activity)rootActivity).SetValue(RuleDefinitions.RuleDefinitionsProperty, rules);
Rules\Helpers.cs (2)
139activity.SetValue(RuleDefinitions.RuleDefinitionsProperty, rules); 183declaringActivity.SetValue(RuleDefinitions.RuleDefinitionsProperty, rules);
Rules\RuleDefinitions.cs (1)
63dependencyObject.SetValue(RuleDefinitions.RuleDefinitionsProperty, rules);
Sequence.cs (3)
61this.SetValue(ActiveChildQualifiedNameProperty, this.EnabledActivities[0].QualifiedName); 95this.SetValue(SequenceFaultingProperty, true); 174this.SetValue(ActiveChildQualifiedNameProperty, seqList[indexOfNextActivity].QualifiedName);
SetState.cs (1)
59base.SetValue(TargetStateNameProperty, value);
State.cs (1)
158state.SetValue(StateActivity.StateMachineExecutionStateProperty, executionState);
StateMachineWorkflow.cs (2)
74base.SetValue(InitialStateNameProperty, value); 89base.SetValue(CompletedStateNameProperty, value);
Task.cs (4)
94base.SetValue(ReplicatorActivity.ExecutionTypeProperty, value); 112base.SetValue(InitialChildDataProperty, value); 143base.SetValue(UntilConditionProperty, value); 445base.SetValue(ActivityStateProperty, value);
WebServiceFault.cs (2)
66base.SetValue(InputActivityNameProperty, value); 83base.SetValue(FaultProperty, value);
WebServiceReceive.cs (6)
80base.SetValue(InterfaceTypeProperty, value); 99base.SetValue(MethodNameProperty, value); 125base.SetValue(RolesProperty, value); 142base.SetValue(IsActivatingProperty, value); 169base.SetValue(ActivitySubscribedProperty, value); 218this.SetValue(QueueNameProperty, key);
WebServiceResponse.cs (1)
70base.SetValue(InputActivityNameProperty, value);
While.cs (1)
59base.SetValue(ConditionProperty, value);
System.Workflow.ComponentModel (98)
AuthoringOM\Activity.cs (38)
248SetValue(CustomActivityProperty, false); 249SetValue(NameProperty, GetType().Name); 257SetValue(CustomActivityProperty, false); 258SetValue(NameProperty, name); 495SetValue(NameProperty, value); 511SetValue(EnabledProperty, value); 550SetValue(DescriptionProperty, value); 579this.SetValue(LockCountOnStatusChangeProperty, this.LockCountOnStatusChange + 1); 589this.SetValue(LockCountOnStatusChangeProperty, --lockCountOnStatusChange); 594this.SetValue(ExecutionResultProperty, ActivityExecutionResult.Canceled); 603this.SetValue(LockCountOnStatusChangeProperty, ++lockCountOnStatusChange); 1050this.SetValue(SerializedStreamLengthProperty, memoryStream.Length > max ? memoryStream.Length : max); 1082activityRoot.SetValue(Activity.NestedActivitiesProperty, nestedActivities); 1180returnActivity.SetValue(Activity.WorkflowDefinitionProperty, DefinitionActivity); 1387this.SetValue(SynchronizationHandlesProperty, new ReadOnlyCollection<string>(new List<string>(handles))); 1450this.SetValue(WasExecutingProperty, true); 1452this.SetValue(ExecutionStatusProperty, newStatus); 1503this.SetValue(ExecutionResultProperty, ActivityExecutionResult.Canceled); 1509this.SetValue(ExecutionResultProperty, ActivityExecutionResult.Succeeded); 1517this.SetValue(ExecutionResultProperty, ActivityExecutionResult.Compensated); 1522this.SetValue(ExecutionResultProperty, ActivityExecutionResult.Faulted); 1555this.SetValue(HasPrimaryClosedProperty, true); 1573this.SetValue(ExecutionResultProperty, ActivityExecutionResult.Faulted); 1580this.SetValue(CompletedOrderIdProperty, this.IncrementCompletedOrderId()); 1587this.SetValue(ExecutionResultProperty, ActivityExecutionResult.Uninitialized); 1643this.SetValue(ExecutionResultProperty, oldOutcome); 1654parent.SetValue(ActivityExecutionContext.GrantedLocksProperty, cachedGrantedLocks); 1672this.SetValue(ExecutionResultProperty, ActivityExecutionResult.Faulted); 1680this.SetValue(ExecutionResultProperty, ActivityExecutionResult.Uninitialized); 1757compensatableChild.SetValue(ExecutionResultProperty, ActivityExecutionResult.Uninitialized); 1763activity.SetValue(ExecutionResultProperty, ActivityExecutionResult.Uninitialized); 1837this.RootActivity.SetValue(Activity.CompletedOrderIdProperty, completedOrderId + 1); 1843this.RootActivity.SetValue(Activity.CompletedOrderIdProperty, completedOrderId - 1); 1931SetValue(CanModifyActivitiesProperty, false); 1951SetValue(CanModifyActivitiesProperty, false); 2009childActivity.SetValue(ExecutionResultProperty, ActivityExecutionResult.Uninitialized); 2115SetValue(CanModifyActivitiesProperty, value); 2117SetValue(CustomActivityProperty, true);
AuthoringOM\ActivityExecutionContext.cs (3)
406this.Activity.SetValue(LockAcquiredCallbackProperty, new ActivityExecutorDelegateInfo<EventArgs>(true, locksAcquiredCallback, this.Activity.ContextActivity)); 426parent.SetValue(GrantedLocksProperty, grantedLocks); 493parent.SetValue(CachedGrantedLocksProperty, cachedGrantedLocks);
AuthoringOM\ActivityExecutionContextCollection.cs (6)
107this.ownerContext.Activity.ContextActivity.SetValue(Activity.ActiveExecutionContextsProperty, activeContexts); 113copiedActivity.SetValue(Activity.ActivityExecutionContextInfoProperty, contextInfo); 114copiedActivity.SetValue(Activity.ActivityContextGuidProperty, contextInfo.ContextGuid); 184this.ownerContext.Activity.ContextActivity.SetValue(Activity.CompletedExecutionContextsProperty, completedContexts); 209childContext.Activity.ContextActivity.SetValue(Activity.ExecutionResultProperty, ActivityExecutionResult.Uninitialized); 340this.ownerContext.Activity.ContextActivity.SetValue(Activity.ActiveExecutionContextsProperty, activeContexts);
AuthoringOM\Behaviors\CompensatableTransactionScopeActivity.cs (1)
50SetValue(TransactionOptionsProperty, value);
AuthoringOM\Behaviors\Compensate.cs (1)
46base.SetValue(TargetActivityNameProperty, value);
AuthoringOM\Behaviors\ExceptionHandler.cs (2)
52base.SetValue(FaultTypeProperty, value); 69this.SetValue(FaultProperty, e);
AuthoringOM\Behaviors\SynchronizationScope.cs (1)
49this.SetValue(SynchronizationHandlesProperty, value);
AuthoringOM\Behaviors\TransactionScope.cs (1)
52SetValue(TransactionOptionsProperty, value);
AuthoringOM\Behaviors\WorkflowTransactionOptions.cs (2)
41base.SetValue(TimeoutDurationProperty, value); 56base.SetValue(IsolationLevelProperty, value);
AuthoringOM\Compiler\XomlCompilerHelpers.cs (2)
186activity.SetValue(ActivityCodeDomSerializer.MarkupFileNameProperty, fileName); 187activity.SetValue(WorkflowMarkupSerializer.XClassProperty, type.FullName);
AuthoringOM\DependencyObject.cs (1)
688SetValue(SiteProperty, value);
AuthoringOM\Design\PropertyDescriptors.cs (1)
128((Activity)host.RootComponent).SetValue(WorkflowMarkupSerializer.XClassProperty, newClassName);
AuthoringOM\Fault.cs (2)
95base.SetValue(FaultProperty, value); 113base.SetValue(FaultTypeProperty, value);
AuthoringOM\Filters\CompensationHandlingFilter.cs (2)
38context.Activity.SetValue(CompensateProcessedProperty, true); 182targetActivity.SetValue(CompensationHandlingFilter.LastCompensatedOrderIdProperty, nextLastCompletedOrderId);
AuthoringOM\Filters\FaultHandlingFilter.cs (1)
78context.Activity.SetValue(FaultAndCancellationHandlingFilter.FaultProcessedProperty, true);
AuthoringOM\ParameterBinding.cs (3)
28SetValue(ParameterNameProperty, parameterName); 40SetValue(ValueProperty, value); 52SetValue(ParameterNameProperty, value);
AuthoringOM\ScheduleChanges.cs (6)
85(dependencyObject as DependencyObject).SetValue(ConditionProperty, value); 138((Activity)this.clonedRootActivity).SetValue(WorkflowChanges.WorkflowChangeActionsProperty, workflowChanges); 142((Activity)this.clonedRootActivity).SetValue(WorkflowChanges.WorkflowChangeVersionProperty, Guid.NewGuid()); 229workflowCoreRuntime.RootActivity.SetValue(Activity.WorkflowDefinitionProperty, this.clonedRootActivity); 428removedActivityAction.OriginalRemovedActivity.SetValue(Activity.ExecutionResultProperty, ActivityExecutionResult.Uninitialized); 548((Activity)clonedRootActivity).SetValue(WorkflowChanges.WorkflowChangeActionsProperty, workflowChanges);
AuthoringOM\Sequence.cs (3)
33activity.SetValue(ActiveChildQualifiedNameProperty, activity.EnabledActivities[0].QualifiedName); 100activity.SetValue(ActiveChildQualifiedNameProperty, children[indexOfNextActivity].QualifiedName); 109activity.SetValue(ActiveChildRemovedProperty, true);
AuthoringOM\Serializer\ActivityMarkupSerializer.cs (10)
78activity.SetValue(ActivityMarkupSerializer.StartLineProperty, startLine); 79activity.SetValue(ActivityMarkupSerializer.EndLineProperty, startLine); 82activity.SetValue(ActivityMarkupSerializer.EndColumnProperty, currentIndex); 83activity.SetValue(ActivityMarkupSerializer.StartColumnProperty, (currentXoml.IndexOf('<', currentIndex) - currentIndex + 1)); 139activity.SetValue(ActivityMarkupSerializer.StartLineProperty, startLine); 140activity.SetValue(ActivityMarkupSerializer.StartColumnProperty, startColumn); 141activity.SetValue(ActivityMarkupSerializer.EndLineProperty, endLine); 142activity.SetValue(ActivityMarkupSerializer.EndColumnProperty, endColumn); 174activity.SetValue(ActivityMarkupSerializer.EndColumnProperty, (currentXoml.Length - lineStartIndex - 1)); 176activity.SetValue(ActivityMarkupSerializer.EndColumnProperty, lastNewLine - lineStartIndex);
AuthoringOM\Serializer\ActivitySurrogate.cs (2)
240rootActivityDefinition.SetValue(WorkflowChanges.WorkflowChangeActionsProperty, changeActions); 241rootActivityDefinition.SetValue(WorkflowChanges.WorkflowChangeVersionProperty, this.workflowChangeVersion);
AuthoringOM\Serializer\ModifyActivitiesPropertyDescriptor.cs (1)
75(component as CompositeActivity).SetValue(CompositeActivity.CustomActivityProperty, false);
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (3)
96rootActivity.SetValue(WorkflowMarkupSerializer.ClrNamespacesProperty, clrMappings); 102rootActivity.SetValue(ActivityCodeDomSerializer.MarkupFileNameProperty, fileName); 1641dependencyObject.SetValue(dependencyProperty, value);
AuthoringOM\Suspend.cs (1)
75base.SetValue(ErrorProperty, value);
AuthoringOM\Terminate.cs (1)
70base.SetValue(ErrorProperty, value);
Shared\BasePropertyDescriptor.cs (1)
518binding.SetValue(WorkflowParameterBinding.ValueProperty, value);
Shared\XomlSerializationHelpers.cs (3)
116activity.SetValue(WorkflowMarkupSerializer.XClassProperty, reader.Value); 185activity.SetValue(WorkflowMarkupSerializer.XCodeProperty, codeSegments); 460dependencyObject.SetValue(WorkflowMarkupSerializer.EventsProperty, new Hashtable());
System.Workflow.Runtime (51)
CorrelationToken.cs (7)
52SetValue(NameProperty, value); 66SetValue(OwnerActivityNameProperty, value); 115SetValue(PropertiesProperty, propertyValues); 127SetValue(InitializedProperty, true); 133SetValue(PropertiesProperty, null); 166SetValue(SubscriptionsProperty, subscriptions); 297owner.SetValue(CorrelationTokenCollection.CorrelationTokenCollectionProperty, collection);
Hosting\DefaultWorkflowLoaderService.cs (1)
64root.SetValue(ConditionTypeConverter.DeclarativeConditionDynamicProp, rules);
Scheduler.cs (2)
53rootExec.RootActivity.SetValue(Scheduler.HighPriorityEntriesQueueProperty, this.highPriorityEntriesQueue); 58rootExec.RootActivity.SetValue(Scheduler.NormalPriorityEntriesQueueProperty, this.normalPriorityEntriesQueue);
System\Activities\Statements\Interop.cs (1)
364activityInstance.SetValue(WorkflowExecutor.WorkflowInstanceIdProperty, context.WorkflowInstanceId);
System\Activities\Statements\InteropExecutor.cs (7)
166this.rootActivity.SetValue(TimerEventSubscriptionCollection.TimerCollectionProperty, this.timerQueue); 336this.rootActivity.SetValue(Activity.ActivityContextGuidProperty, instanceId); 460this.rootActivity.SetValue(System.Workflow.ComponentModel.Activity.WorkflowDefinitionProperty, workflowDefinition); 461this.rootActivity.SetValue(WorkflowExecutor.WorkflowExecutorProperty, this); 571atomicActivity.SetValue(WorkflowExecutor.TransactionalPropertiesProperty, transactionProperties); 931owner.RootActivity.SetValue(Scheduler.SchedulerQueueProperty, this.schedulerQueue); 938owner.RootActivity.SetValue(Scheduler.AtomicActivityQueueProperty, this.atomicActivityQueue);
Tracking.cs (2)
177exec.RootActivity.SetValue(WorkflowExecutor.TrackingListenerBrokerProperty, listener.Broker); 184exec.RootActivity.SetValue(WorkflowExecutor.TrackingListenerBrokerProperty, new TrackingListenerBroker());
WorkflowDefinitionDispenser.cs (6)
269root.SetValue(Activity.WorkflowRuntimeProperty, workflowRuntime); 317root.SetValue(Activity.WorkflowXamlMarkupProperty, xomlText); 318root.SetValue(Activity.WorkflowRulesMarkupProperty, rulesText); 319root.SetValue(WorkflowDefinitionHashCodeProperty, xomlHashCode); 320root.SetValue(Activity.WorkflowRuntimeProperty, workflowRuntime); 607dependencyObject.SetValue(WorkflowDefinitionLockObjectProperty, value);
WorkflowExecutor.cs (23)
146this.rootActivity.SetValue(WorkflowExecutor.ContextIdProperty, 0); 147this.rootActivity.SetValue(WorkflowInstanceIdProperty, instanceId); 150this.rootActivity.SetValue(Activity.ActivityContextGuidProperty, instanceId); 151this.rootActivity.SetValue(WorkflowExecutor.IsIdleProperty, true); 155this.rootActivity.SetValue(WorkflowExecutor.WorkflowExecutorProperty, this); 190this.rootActivity.SetValue(WorkflowExecutor.TrackingCallingStateProperty, trackingCallingState); 308this.rootActivity.SetValue(WorkflowExecutor.WorkflowExecutorProperty, this); 433this.RootActivity.SetValue(WorkflowExecutor.IsIdleProperty, value); 619this.rootActivity.SetValue(WorkflowExecutor.ContextIdProperty, conextId); 854this.rootActivity.SetValue(WorkflowExecutor.IsSuspensionRequestedProperty, false); 926private set { this.rootActivity.SetValue(WorkflowStatusProperty, value); } 943this.rootActivity.SetValue(TimerEventSubscriptionCollection.TimerCollectionProperty, _timerQueue); 1046currentActivity.SetValue(TransientBatchProperty, _resourceManager.BatchCollection.GetTransientBatch()); 1055completedContextActivity.SetValue(WorkflowInstanceIdProperty, this.InstanceId); 1136currentActivity.SetValue(TransientBatchProperty, null); 1176this.rootActivity.SetValue(IsBlockedProperty, this.Scheduler.IsStalledNow); 1182this.rootActivity.SetValue(IsBlockedProperty, false); 1684this.rootActivity.SetValue(SuspendOrTerminateInfoProperty, error); 1691this.rootActivity.SetValue(Activity.ExecutionResultProperty, ActivityExecutionResult.Canceled); 1701this.rootActivity.SetValue(Activity.ExecutionResultProperty, ActivityExecutionResult.None); 1957this.rootActivity.SetValue(SuspendOrTerminateInfoProperty, error); 2040this.rootActivity.SetValue(SuspendOrTerminateInfoProperty, string.Empty); 2115atomicActivity.SetValue(TransactionalPropertiesProperty, transactionalProperties);
WorkflowRuntime.cs (1)
584rootActivity.SetValue(Activity.WorkflowDefinitionProperty, workflowDefinition);
WorkflowStateRollbackService.cs (1)
93clonedRootActivity.SetValue(WorkflowExecutor.TrackingListenerBrokerProperty, workflowExecutor.RootActivity.GetValue(WorkflowExecutor.TrackingListenerBrokerProperty));
System.WorkflowServices (53)
System\Workflow\Activities\ChannelToken.cs (4)
71SetValue(EndpointNameProperty, value); 86SetValue(NameProperty, value); 102SetValue(OwnerActivityNameProperty, value); 222owner.SetValue(LogicalChannelCollection.LogicalChannelCollectionProperty, collection);
System\Workflow\Activities\ContextToken.cs (4)
73SetValue(NameProperty, value); 89SetValue(OwnerActivityNameProperty, value); 352owner.SetValue(ReceiveContextCollection.ReceiveContextCollectionProperty, collection); 387owner.SetValue(ReceiveContextCollection.ReceiveContextCollectionProperty, collection);
System\Workflow\Activities\DynamicContractTypeBuilder.cs (2)
60rootActivity.SetValue(DynamicContractTypeBuilder.DynamicContractTypesProperty, contractTypes); 67rootActivity.SetValue(DynamicContractTypeBuilder.DynamicContractTypesProperty, contractTypes);
System\Workflow\Activities\OperationInfo.cs (3)
63this.SetValue(OperationInfo.ContractNameProperty, value); 85this.SetValue(OperationInfo.IsOneWayProperty, value); 107this.SetValue(OperationInfo.ProtectionLevelProperty, value);
System\Workflow\Activities\OperationInfoBase.cs (3)
54set { this.SetValue(OperationInfoBase.NameProperty, value); } 61set { this.SetValue(OperationInfoBase.PrincipalPermissionNameProperty, value); } 68set { this.SetValue(OperationInfoBase.PrincipalPermissionRoleProperty, value); }
System\Workflow\Activities\OperationParameterInfo.cs (9)
54SetValue(NameProperty, parameterName); 64SetValue(OperationParameterInfo.NameProperty, parameter.Name); 65SetValue(OperationParameterInfo.PositionProperty, parameter.Position); 66SetValue(OperationParameterInfo.AttributesProperty, parameter.Attributes); 67SetValue(OperationParameterInfo.ParameterTypeProperty, parameter.ParameterType); 78SetValue(AttributesProperty, value); 132SetValue(NameProperty, value); 144SetValue(ParameterTypeProperty, value); 156SetValue(PositionProperty, value);
System\Workflow\Activities\ReceiveActivity.cs (11)
159base.SetValue(ReceiveActivity.CanCreateInstanceProperty, value); 191base.SetValue(ContextTokenProperty, value); 209base.SetValue(ReceiveActivity.FaultMessageProperty, value); 256currentValue.SetValue(ParentDependencyObjectProperty, null); 259value.SetValue(ParentDependencyObjectProperty, this); 268base.SetValue(ReceiveActivity.ServiceOperationInfoProperty, value); 282base.SetValue(ReceiveActivity.RequestContextProperty, value); 321base.SetValue(ReceiveActivity.QueueInitializationModeProperty, value); 416(dependencyObject as DependencyObject).SetValue(ReceiveActivity.WorkflowServiceAttributesProperty, value); 1235activity.SetValue(ReceiveActivity.WorkflowServiceAttributesProperty, workflowServiceAttribsValue); 1289this.SetValue(QueueNameProperty, queueName);
System\Workflow\Activities\SendActivity.cs (5)
139this.SetValue(SendActivity.ChannelTokenProperty, value); 182SetValue(CustomAddressProperty, value); 227currentValue.SetValue(ParentDependencyObjectProperty, null); 230value.SetValue(ParentDependencyObjectProperty, this); 239base.SetValue(SendActivity.ServiceOperationInfoProperty, value);
System\Workflow\Activities\TypedOperationInfo.cs (1)
51set { this.SetValue(TypedOperationInfo.ContractTypeProperty, value); }
System\Workflow\Activities\WorkflowServiceAttributes.cs (9)
76set { this.SetValue(WorkflowServiceAttributes.AddressFilterModeProperty, value); } 83set { this.SetValue(WorkflowServiceAttributes.ConfigurationNameProperty, value); } 90set { this.SetValue(WorkflowServiceAttributes.IgnoreExtensionDataObjectProperty, value); } 97set { this.SetValue(WorkflowServiceAttributes.IncludeExceptionDetailInFaultsProperty, value); } 104set { this.SetValue(WorkflowServiceAttributes.MaxItemsInObjectGraphProperty, value); } 111set { this.SetValue(WorkflowServiceAttributes.NameProperty, value); } 118set { this.SetValue(WorkflowServiceAttributes.NamespaceProperty, value); } 125set { this.SetValue(WorkflowServiceAttributes.UseSynchronizationContextProperty, value); } 132set { this.SetValue(WorkflowServiceAttributes.ValidateMustUnderstandProperty, value); }
System\Workflow\Activities\WorkflowServiceAttributesPropertyProviderExtender.cs (1)
32activity.SetValue(ReceiveActivity.WorkflowServiceAttributesProperty, value);
System\Workflow\Runtime\StreamedWorkflowDefinitionContext.cs (1)
289root.SetValue(System.Workflow.Activities.Rules.RuleDefinitions.RuleDefinitionsProperty, rules);