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
- ServiceDescriptions.cs
- TimeSpanMinutesConverter.cs
- EntityDataSourceContainerNameItem.cs
- AssemblyNameProxy.cs
- Exception.cs
- ExceptionWrapper.cs
- DSASignatureDeformatter.cs
- QilName.cs
- RangeValidator.cs
- DrawingImage.cs
- OdbcConnectionOpen.cs
- PathFigure.cs
- JoinElimination.cs
- ConstructorNeedsTagAttribute.cs
- Highlights.cs
- FixedPage.cs
- DbMetaDataCollectionNames.cs
- SyndicationElementExtension.cs
- UnsafeNativeMethodsCLR.cs
- DocComment.cs
- XmlSchemaFacet.cs
- SettingsProviderCollection.cs
- ApplicationId.cs
- PropertyKey.cs
- OverlappedAsyncResult.cs
- SafeThemeHandle.cs
- OdbcError.cs
- InstallHelper.cs
- IOThreadTimer.cs
- EntityAdapter.cs
- ParserHooks.cs
- Listbox.cs
- AssemblyContextControlItem.cs
- AuthorizationPolicyTypeElement.cs
- counter.cs
- UrlMappingCollection.cs
- ProfileSettings.cs
- SqlTriggerContext.cs
- EncodingStreamWrapper.cs
- GradientStop.cs
- EntityReference.cs
- GridViewEditEventArgs.cs
- LinqDataSourceInsertEventArgs.cs
- XPathParser.cs
- ComponentChangingEvent.cs
- InheritanceContextChangedEventManager.cs
- SerializationInfo.cs
- QueryStringParameter.cs
- ProtectedProviderSettings.cs
- CodeDefaultValueExpression.cs
- SecurityDescriptor.cs
- DataMisalignedException.cs
- LinqDataSourceContextData.cs
- TemplateControlCodeDomTreeGenerator.cs
- SchemaManager.cs
- PassportIdentity.cs
- DynamicDocumentPaginator.cs
- SimpleLine.cs
- OracleBoolean.cs
- ItemsControl.cs
- ConfigurationPermission.cs
- SolidColorBrush.cs
- DecoderBestFitFallback.cs
- Item.cs
- XPathException.cs
- IfJoinedCondition.cs
- XmlSchemaAnnotation.cs
- BamlLocalizableResourceKey.cs
- DeferredElementTreeState.cs
- TextWriter.cs
- SHA256.cs
- TableRowCollection.cs
- HtmlTable.cs
- TableCell.cs
- ReturnValue.cs
- MemberRelationshipService.cs
- ConfigurationPermission.cs
- AuthorizationSection.cs
- TreeNodeEventArgs.cs
- mactripleDES.cs
- SQLMembershipProvider.cs
- FileVersionInfo.cs
- RowUpdatingEventArgs.cs
- ColumnClickEvent.cs
- GenericPrincipal.cs
- Semaphore.cs
- Double.cs
- ModifyActivitiesPropertyDescriptor.cs
- ClientRolePrincipal.cs
- FixedElement.cs
- SqlNotificationRequest.cs
- SpinWait.cs
- LeaseManager.cs
- ObjectDataSource.cs
- Shared.cs
- CultureTableRecord.cs
- IndexOutOfRangeException.cs
- EncryptedPackageFilter.cs
- DependencyPropertyAttribute.cs
- SortAction.cs