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
- ListViewGroupConverter.cs
- _UriSyntax.cs
- BuildProvidersCompiler.cs
- XmlSchemaAnnotation.cs
- SafeBitVector32.cs
- PhysicalAddress.cs
- FormDesigner.cs
- OperationPickerDialog.designer.cs
- WebReferencesBuildProvider.cs
- PolicyImporterElement.cs
- XmlSchemaObjectCollection.cs
- SchemaMapping.cs
- PhonemeEventArgs.cs
- VisualStyleInformation.cs
- TextServicesContext.cs
- IdentityNotMappedException.cs
- CursorConverter.cs
- Setter.cs
- SchemaObjectWriter.cs
- PhonemeConverter.cs
- ADRole.cs
- BamlLocalizer.cs
- HostingPreferredMapPath.cs
- BooleanAnimationUsingKeyFrames.cs
- PostBackTrigger.cs
- ConstNode.cs
- ImportCatalogPart.cs
- ActivityExecutionFilter.cs
- AdCreatedEventArgs.cs
- XmlComplianceUtil.cs
- RtfControlWordInfo.cs
- SqlParameterCollection.cs
- ConstructorExpr.cs
- Selector.cs
- XmlUrlResolver.cs
- EntityDataSourceState.cs
- InputScope.cs
- AppDomainEvidenceFactory.cs
- ComponentSerializationService.cs
- MailBnfHelper.cs
- FillRuleValidation.cs
- RuntimeArgumentHandle.cs
- URLIdentityPermission.cs
- PersonalizationDictionary.cs
- SystemIPv6InterfaceProperties.cs
- LocatorManager.cs
- NegatedCellConstant.cs
- SafeCertificateContext.cs
- OracleInternalConnection.cs
- Icon.cs
- XmlToDatasetMap.cs
- CodeSubDirectoriesCollection.cs
- StringFormat.cs
- StorageAssociationSetMapping.cs
- SuppressIldasmAttribute.cs
- InsufficientExecutionStackException.cs
- DataSourceProvider.cs
- TextServicesCompartment.cs
- ReadOnlyObservableCollection.cs
- PropertyPathConverter.cs
- RegularExpressionValidator.cs
- InternalCache.cs
- LoginUtil.cs
- InternalResources.cs
- CommandBindingCollection.cs
- DPCustomTypeDescriptor.cs
- TextSimpleMarkerProperties.cs
- HWStack.cs
- WebPartConnectionsCancelVerb.cs
- MapPathBasedVirtualPathProvider.cs
- Accessible.cs
- BindUriHelper.cs
- WebPartsPersonalization.cs
- ServiceProviders.cs
- ConfigXmlWhitespace.cs
- ExpressionBuilder.cs
- XmlSchemaSet.cs
- ScopelessEnumAttribute.cs
- SocketStream.cs
- ByteViewer.cs
- TraceSwitch.cs
- _SafeNetHandles.cs
- PointConverter.cs
- ErrorFormatterPage.cs
- StringValidator.cs
- TraceSection.cs
- DataTableReader.cs
- MenuItemBinding.cs
- ZipFileInfo.cs
- ApplicationFileParser.cs
- PersistenceTypeAttribute.cs
- BindingsCollection.cs
- BaseTypeViewSchema.cs
- SharedDp.cs
- ReadOnlyHierarchicalDataSource.cs
- WebServiceClientProxyGenerator.cs
- DrawingContext.cs
- CommandBindingCollection.cs
- MachineKeySection.cs
- SoapParser.cs