Code:
/ 4.0 / 4.0 / 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. 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
- DataTemplateSelector.cs
- FormsAuthenticationTicket.cs
- SystemTcpConnection.cs
- ServiceOperationUIEditor.cs
- QuerySafeNavigator.cs
- DesignColumn.cs
- TrackingStringDictionary.cs
- HwndHost.cs
- DataControlField.cs
- WorkflowRuntimeServiceElementCollection.cs
- TreeNodeCollection.cs
- ISessionStateStore.cs
- BuildManager.cs
- SectionRecord.cs
- XmlLoader.cs
- TargetFrameworkAttribute.cs
- AnnouncementSendsAsyncResult.cs
- SessionParameter.cs
- TransformProviderWrapper.cs
- CollaborationHelperFunctions.cs
- TreeWalker.cs
- UInt16Converter.cs
- AccessViolationException.cs
- EventRecord.cs
- AssociationEndMember.cs
- DeliveryStrategy.cs
- SourceElementsCollection.cs
- SqlBulkCopyColumnMappingCollection.cs
- BoundField.cs
- X509Certificate2Collection.cs
- WsatAdminException.cs
- ExpandedWrapper.cs
- CommentAction.cs
- AttributeUsageAttribute.cs
- BrushConverter.cs
- EntityRecordInfo.cs
- HtmlGenericControl.cs
- WebPartConnectionsEventArgs.cs
- XhtmlBasicObjectListAdapter.cs
- DefaultValueMapping.cs
- MarkupExtensionReturnTypeAttribute.cs
- GuidTagList.cs
- KnownTypeHelper.cs
- GeneralTransform3D.cs
- StringFormat.cs
- _LocalDataStore.cs
- DirectionalLight.cs
- ExtensionSimplifierMarkupObject.cs
- IdleTimeoutMonitor.cs
- ListViewInsertionMark.cs
- CriticalFinalizerObject.cs
- NetMsmqBinding.cs
- ScopelessEnumAttribute.cs
- Debug.cs
- Track.cs
- AccessDataSourceDesigner.cs
- PaintValueEventArgs.cs
- TypeInfo.cs
- HttpStaticObjectsCollectionWrapper.cs
- CallbackBehaviorAttribute.cs
- DataTableTypeConverter.cs
- streamingZipPartStream.cs
- ChameleonKey.cs
- WorkingDirectoryEditor.cs
- InfoCard.cs
- MobileListItemCollection.cs
- ZoneIdentityPermission.cs
- GregorianCalendar.cs
- CursorInteropHelper.cs
- ExpandedWrapper.cs
- ZoneButton.cs
- HttpWebRequestElement.cs
- StrokeNodeData.cs
- TextInfo.cs
- ResourceWriter.cs
- XsltConvert.cs
- UntypedNullExpression.cs
- SizeF.cs
- XmlName.cs
- NullReferenceException.cs
- clipboard.cs
- SQLChars.cs
- HeaderCollection.cs
- CompositeControl.cs
- RectangleConverter.cs
- WindowsIPAddress.cs
- CheckBoxRenderer.cs
- ArrangedElementCollection.cs
- ExtensionFile.cs
- DataGridTableCollection.cs
- TypeForwardedToAttribute.cs
- Root.cs
- HttpGetServerProtocol.cs
- MetadataArtifactLoaderCompositeFile.cs
- DataGridViewLinkColumn.cs
- IdentityModelDictionary.cs
- GeneralTransform.cs
- DateTimePickerDesigner.cs
- Subtree.cs
- PointAnimationUsingPath.cs