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
- ConfigurationStrings.cs
- DataGridViewCellFormattingEventArgs.cs
- ISFClipboardData.cs
- FreeIndexList.cs
- EntitySet.cs
- ContextMenu.cs
- WebScriptServiceHost.cs
- WebPartHeaderCloseVerb.cs
- DataSourceBooleanViewSchemaConverter.cs
- NestedContainer.cs
- MobileCapabilities.cs
- GridLengthConverter.cs
- WebBrowsableAttribute.cs
- ControlPropertyNameConverter.cs
- ObjectView.cs
- HtmlShim.cs
- SurrogateDataContract.cs
- GridViewRowCollection.cs
- ListParaClient.cs
- ContractAdapter.cs
- SymbolEqualComparer.cs
- EUCJPEncoding.cs
- GetLedgerRequest.cs
- ColorConverter.cs
- COM2Enum.cs
- ToolStripArrowRenderEventArgs.cs
- QueryInterceptorAttribute.cs
- GacUtil.cs
- DbParameterHelper.cs
- OutOfMemoryException.cs
- DetailsViewCommandEventArgs.cs
- AnnouncementSendsAsyncResult.cs
- OutOfProcStateClientManager.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- XmlSignatureManifest.cs
- MarshalByRefObject.cs
- KeyGestureValueSerializer.cs
- HttpGetServerProtocol.cs
- IWorkflowDebuggerService.cs
- TextDocumentView.cs
- CommandSet.cs
- AuthorizationRule.cs
- PipelineModuleStepContainer.cs
- QilIterator.cs
- ProcessModuleCollection.cs
- NumberSubstitution.cs
- InputLanguage.cs
- MenuRendererStandards.cs
- UserControlAutomationPeer.cs
- GraphicsState.cs
- VariableQuery.cs
- CommandField.cs
- ColorPalette.cs
- PrimarySelectionAdorner.cs
- ManipulationInertiaStartingEventArgs.cs
- RenderData.cs
- DiscoveryDocumentSearchPattern.cs
- SQLInt32.cs
- TextSerializer.cs
- RepeaterDesigner.cs
- ManagementPath.cs
- AnimatedTypeHelpers.cs
- EdmRelationshipRoleAttribute.cs
- SecurityImpersonationBehavior.cs
- HttpRequest.cs
- TypeDescriptionProvider.cs
- RMPublishingDialog.cs
- SoapExtensionImporter.cs
- ScrollBarAutomationPeer.cs
- CodeConstructor.cs
- TcpSocketManager.cs
- OleDbReferenceCollection.cs
- Interlocked.cs
- Underline.cs
- SimpleWorkerRequest.cs
- EventLogEntryCollection.cs
- BamlTreeNode.cs
- DriveInfo.cs
- ImageKeyConverter.cs
- XamlFilter.cs
- IndexingContentUnit.cs
- SafeNativeMethods.cs
- Reference.cs
- GetPageNumberCompletedEventArgs.cs
- DesignerSerializationVisibilityAttribute.cs
- WebServiceClientProxyGenerator.cs
- TypeSystem.cs
- RefreshEventArgs.cs
- IUnknownConstantAttribute.cs
- GridToolTip.cs
- IndexedString.cs
- RepeatEnumerable.cs
- SharedTcpTransportManager.cs
- OdbcConnectionPoolProviderInfo.cs
- AppDomainAttributes.cs
- SmiGettersStream.cs
- IBuiltInEvidence.cs
- InputLangChangeEvent.cs
- DesignerVerbCollection.cs
- PagePropertiesChangingEventArgs.cs