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
- RawKeyboardInputReport.cs
- DataServiceExpressionVisitor.cs
- MetadataSource.cs
- CssTextWriter.cs
- InputProcessorProfilesLoader.cs
- XmlSerializerAssemblyAttribute.cs
- ReflectPropertyDescriptor.cs
- XmlWriter.cs
- Vector3DIndependentAnimationStorage.cs
- SessionParameter.cs
- ReferenceCountedObject.cs
- WebPartMovingEventArgs.cs
- Popup.cs
- HttpCachePolicyWrapper.cs
- ConfigUtil.cs
- EncoderBestFitFallback.cs
- EndEvent.cs
- XmlHierarchicalEnumerable.cs
- WebPartActionVerb.cs
- GenericWebPart.cs
- WSTrustDec2005.cs
- XmlKeywords.cs
- MultipartContentParser.cs
- PagedDataSource.cs
- RemoteWebConfigurationHostServer.cs
- AllowedAudienceUriElement.cs
- CodeSnippetTypeMember.cs
- DocumentScope.cs
- ReachDocumentReferenceSerializer.cs
- DetailsViewUpdateEventArgs.cs
- HierarchicalDataSourceControl.cs
- ToolStripSettings.cs
- XPathMessageFilterElementComparer.cs
- WaitForChangedResult.cs
- SchemaMapping.cs
- PersonalizationStateInfo.cs
- DesignerCapabilities.cs
- NativeObjectSecurity.cs
- _IPv4Address.cs
- InfoCardAsymmetricCrypto.cs
- GuidConverter.cs
- ContentControl.cs
- DataSourceSelectArguments.cs
- MarkupObject.cs
- Function.cs
- SmtpCommands.cs
- input.cs
- CacheOutputQuery.cs
- LicenseContext.cs
- ModuleBuilder.cs
- SystemFonts.cs
- VectorConverter.cs
- BitConverter.cs
- WebControlAdapter.cs
- CharStorage.cs
- UnmanagedMarshal.cs
- XamlSerializerUtil.cs
- Content.cs
- CalculatedColumn.cs
- FileUpload.cs
- SendMailErrorEventArgs.cs
- ObjectPropertyMapping.cs
- GradientStop.cs
- Animatable.cs
- AxHost.cs
- __Filters.cs
- XmlSchemaChoice.cs
- future.cs
- CellParaClient.cs
- DataGridPageChangedEventArgs.cs
- StylusTip.cs
- SoapConverter.cs
- XmlAnyElementAttribute.cs
- DataGridLinkButton.cs
- HostingEnvironmentWrapper.cs
- SimpleRecyclingCache.cs
- KnownBoxes.cs
- WeakReferenceEnumerator.cs
- CngUIPolicy.cs
- DragEvent.cs
- ObjectView.cs
- DefaultParameterValueAttribute.cs
- TimeEnumHelper.cs
- IndentedWriter.cs
- ClientFormsAuthenticationCredentials.cs
- PropertyValueUIItem.cs
- ReservationCollection.cs
- StorageAssociationSetMapping.cs
- RightNameExpirationInfoPair.cs
- EndpointBehaviorElement.cs
- RelationalExpressions.cs
- MonthChangedEventArgs.cs
- ClickablePoint.cs
- RadioButtonRenderer.cs
- EventProviderWriter.cs
- DynamicResourceExtension.cs
- ProcessInfo.cs
- DBAsyncResult.cs
- ConsoleKeyInfo.cs
- VirtualizingPanel.cs