Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / RunTime / Tracking / TrackingWorkflowEventArgs.cs / 1305376 / TrackingWorkflowEventArgs.cs
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; using System.Xml; using System.Xml.Schema; using System.IO; using System.Reflection; using System.Diagnostics; using System.Runtime.Serialization; using System.Security.Permissions; using System.Globalization; //using System.Workflow.Activities; using System.Workflow.ComponentModel; using System.Workflow.Runtime; using System.Workflow.Runtime.Hosting; using Hosting = System.Workflow.Runtime.Hosting; namespace System.Workflow.Runtime.Tracking { public class TrackingWorkflowChangedEventArgs : EventArgs { private Activity _def = null; private IList_changes = null; internal TrackingWorkflowChangedEventArgs(IList changes, Activity definition) { _def = definition; _changes = changes; } public IList Changes { get { return _changes; } } public Activity Definition { get { return _def; } } } [Serializable] public class TrackingWorkflowTerminatedEventArgs : EventArgs { private Exception _e = null; internal TrackingWorkflowTerminatedEventArgs(Exception exception) { _e = exception; } internal TrackingWorkflowTerminatedEventArgs(string error) { _e = new WorkflowTerminatedException(error); } public Exception Exception { get { return _e; } } } [Serializable] public class TrackingWorkflowSuspendedEventArgs : EventArgs { private string _error = null; internal TrackingWorkflowSuspendedEventArgs(string error) { _error = error; } public string Error { get { return _error; } } } [Serializable] public class TrackingWorkflowExceptionEventArgs : EventArgs { private Exception _e = null; private string _currentPath = null; private string _originalPath = null; private Guid _context, _parentContext; internal TrackingWorkflowExceptionEventArgs(Exception exception, string currentPath, string originalPath, Guid contextGuid, Guid parentContextGuid) { _e = exception; _currentPath = currentPath; _originalPath = originalPath; _context = contextGuid; _parentContext = parentContextGuid; } public Exception Exception { get { return _e; } } public string CurrentActivityPath { get { return _currentPath; } } public string OriginalActivityPath { get { return _originalPath; } } public Guid ContextGuid { get { return _context; } } public Guid ParentContextGuid { get { return _parentContext; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ContainerUIElement3D.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ContextInformation.cs
- Calendar.cs
- ProgressBarRenderer.cs
- Misc.cs
- PassportAuthenticationEventArgs.cs
- HttpHeaderCollection.cs
- RelOps.cs
- UshortList2.cs
- ParserContext.cs
- AttributeUsageAttribute.cs
- ModuleConfigurationInfo.cs
- DocumentGrid.cs
- RemotingAttributes.cs
- PolyBezierSegment.cs
- DocumentReferenceCollection.cs
- OdbcConnectionHandle.cs
- ColumnBinding.cs
- ScrollItemPattern.cs
- CfgParser.cs
- CustomTokenProvider.cs
- DeferredSelectedIndexReference.cs
- NumericUpDown.cs
- SmtpNegotiateAuthenticationModule.cs
- XmlSchemaAnyAttribute.cs
- IODescriptionAttribute.cs
- CmsInterop.cs
- QilUnary.cs
- BitmapCodecInfoInternal.cs
- DataPagerFieldItem.cs
- TemplateModeChangedEventArgs.cs
- CompilerGlobalScopeAttribute.cs
- X509Certificate2.cs
- XDRSchema.cs
- NonParentingControl.cs
- FontUnitConverter.cs
- SuppressMergeCheckAttribute.cs
- QilStrConcat.cs
- TableRowCollection.cs
- DbDataAdapter.cs
- ModelVisual3D.cs
- SineEase.cs
- ListControlDataBindingHandler.cs
- SafeTokenHandle.cs
- TabPanel.cs
- WebPartZoneBaseDesigner.cs
- TextRange.cs
- _BasicClient.cs
- ClientScriptManager.cs
- XmlSchemaInclude.cs
- Point3DAnimationUsingKeyFrames.cs
- VerificationException.cs
- EnumMember.cs
- Soap.cs
- DashStyle.cs
- linebase.cs
- FieldNameLookup.cs
- XmlCustomFormatter.cs
- HtmlInputCheckBox.cs
- DrawingVisualDrawingContext.cs
- SByteStorage.cs
- UnmanagedMarshal.cs
- FilterableAttribute.cs
- HttpRequestBase.cs
- ResXFileRef.cs
- EventLogPermissionAttribute.cs
- _LocalDataStore.cs
- XPathItem.cs
- TextServicesCompartmentContext.cs
- FlowDocumentPaginator.cs
- IdnElement.cs
- QueryParameter.cs
- HealthMonitoringSection.cs
- ContentType.cs
- StateManager.cs
- TypefaceCollection.cs
- CodeStatement.cs
- StorageAssociationTypeMapping.cs
- SchemaSetCompiler.cs
- Point.cs
- SystemException.cs
- ASCIIEncoding.cs
- FamilyMap.cs
- ResumeStoryboard.cs
- DataGridViewRowPostPaintEventArgs.cs
- MessageSecurityOverMsmqElement.cs
- DynamicILGenerator.cs
- DBNull.cs
- SmtpException.cs
- TextDpi.cs
- DrawItemEvent.cs
- DataSourceControlBuilder.cs
- Identity.cs
- TextRunCacheImp.cs
- UnsafeNativeMethods.cs
- RadioButtonBaseAdapter.cs
- ExpressionEditorAttribute.cs
- EntityContainer.cs
- XmlSchemaInferenceException.cs