Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.ServiceModel.Activities / System / ServiceModel / Activities / WorkflowCreationContext.cs / 1305376 / WorkflowCreationContext.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Activities { using System.Activities; using System.Collections.Generic; using System.Runtime; using System.Runtime.Serialization; [DataContract] public class WorkflowCreationContext { DictionaryworkflowArguments; public WorkflowCreationContext() { } public IDictionary WorkflowArguments { get { if (this.workflowArguments == null) { this.workflowArguments = new Dictionary (); } return this.workflowArguments; } } // internally we can handle null and optimize out the allocation internal IDictionary RawWorkflowArguments { get { return this.workflowArguments; } } [DataMember] public bool CreateOnly { get; set; } [DataMember] public bool IsCompletionTransactionRequired { get; set; } protected internal virtual IAsyncResult OnBeginWorkflowCompleted( ActivityInstanceState completionState, IDictionary workflowOutputs, Exception terminationException, TimeSpan timeout, AsyncCallback callback, object state) { return new CompletedAsyncResult(callback, state); } protected internal virtual void OnEndWorkflowCompleted(IAsyncResult result) { CompletedAsyncResult.End(result); } protected internal virtual void OnAbort() { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WindowsSysHeader.cs
- CustomErrorsSection.cs
- NonParentingControl.cs
- WrappedKeySecurityTokenParameters.cs
- ExpandoObject.cs
- CLRBindingWorker.cs
- ReferenceEqualityComparer.cs
- SwitchAttribute.cs
- Evaluator.cs
- UnsafeNativeMethodsTablet.cs
- UInt16Converter.cs
- VarRemapper.cs
- BaseDataListActionList.cs
- DoubleAnimationClockResource.cs
- XmlSubtreeReader.cs
- WebEventTraceProvider.cs
- ToolStripAdornerWindowService.cs
- SqlConnectionString.cs
- HwndMouseInputProvider.cs
- StyleModeStack.cs
- NetworkAddressChange.cs
- DecimalStorage.cs
- FontDialog.cs
- SoapBinding.cs
- TraceFilter.cs
- ObjectToken.cs
- WithParamAction.cs
- IgnoreSectionHandler.cs
- Splitter.cs
- _Win32.cs
- AssemblyAttributes.cs
- SynchronizedDispatch.cs
- UInt32Storage.cs
- MissingMemberException.cs
- DataColumn.cs
- ServiceManager.cs
- ValueTypeFieldReference.cs
- CopyAction.cs
- InterleavedZipPartStream.cs
- BitmapSource.cs
- XmlNavigatorStack.cs
- EdmComplexPropertyAttribute.cs
- ValidationHelpers.cs
- Propagator.JoinPropagator.cs
- ParameterModifier.cs
- Exception.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- Screen.cs
- ConnectionManagementElementCollection.cs
- SessionIDManager.cs
- FormsIdentity.cs
- DomainUpDown.cs
- MaterializeFromAtom.cs
- TraceXPathNavigator.cs
- EnumMemberAttribute.cs
- EntityDataSourceUtil.cs
- DataSvcMapFile.cs
- ListViewUpdatedEventArgs.cs
- WebPartConnection.cs
- CompareValidator.cs
- ContainerControl.cs
- StrokeNodeOperations2.cs
- MenuCommand.cs
- SchemaElementDecl.cs
- GeometryHitTestParameters.cs
- CustomErrorsSectionWrapper.cs
- Reference.cs
- EventWaitHandle.cs
- PropertyConverter.cs
- DataRowExtensions.cs
- Config.cs
- EpmCustomContentSerializer.cs
- XmlWellformedWriter.cs
- DataGridSortCommandEventArgs.cs
- WrapPanel.cs
- Point4DConverter.cs
- ParallelTimeline.cs
- CachedFontFace.cs
- XPathBuilder.cs
- Stacktrace.cs
- ContentPosition.cs
- Cloud.cs
- GetCertificateRequest.cs
- _IPv4Address.cs
- StringFunctions.cs
- XmlSchemaAll.cs
- DBSqlParserColumn.cs
- Matrix3DValueSerializer.cs
- ReferenceEqualityComparer.cs
- XsltSettings.cs
- Compiler.cs
- StructuredTypeInfo.cs
- ProcessRequestArgs.cs
- FrameworkElement.cs
- WebPartConnectionsConnectVerb.cs
- DbDataAdapter.cs
- DataGridViewCellLinkedList.cs
- CollectionContainer.cs
- __ConsoleStream.cs
- selecteditemcollection.cs