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
- IISUnsafeMethods.cs
- MDIWindowDialog.cs
- WmfPlaceableFileHeader.cs
- MailDefinition.cs
- DateTimeFormatInfoScanner.cs
- TypeExtensionConverter.cs
- PipeStream.cs
- ToolStripContentPanelRenderEventArgs.cs
- DataException.cs
- Line.cs
- ExtensionSimplifierMarkupObject.cs
- HierarchicalDataBoundControlAdapter.cs
- Expressions.cs
- CompilationUtil.cs
- RouteValueDictionary.cs
- ShapingEngine.cs
- FileDataSourceCache.cs
- SystemIPInterfaceProperties.cs
- MSAAEventDispatcher.cs
- InstanceKey.cs
- CaseStatement.cs
- ResXFileRef.cs
- ProxyGenerator.cs
- TextBoxAutoCompleteSourceConverter.cs
- RangeContentEnumerator.cs
- EntityClientCacheKey.cs
- FontStyles.cs
- ResourceReader.cs
- _HeaderInfoTable.cs
- CryptographicAttribute.cs
- TextFormatter.cs
- WebBrowserSiteBase.cs
- TickBar.cs
- DependencyObject.cs
- XPathNodeInfoAtom.cs
- SerializationFieldInfo.cs
- XmlCustomFormatter.cs
- ColumnMap.cs
- SqlTrackingQuery.cs
- WebRequest.cs
- ISAPIWorkerRequest.cs
- Thread.cs
- TogglePattern.cs
- ShortcutKeysEditor.cs
- RegexCapture.cs
- ActionFrame.cs
- AccessibleObject.cs
- SelectionRangeConverter.cs
- AppDomainProtocolHandler.cs
- FrameworkPropertyMetadata.cs
- RoleGroupCollection.cs
- DynamicControl.cs
- Decoder.cs
- UserPreferenceChangedEventArgs.cs
- SpAudioStreamWrapper.cs
- ContentWrapperAttribute.cs
- XmlQueryOutput.cs
- NegotiateStream.cs
- smtppermission.cs
- ResolveCriteriaCD1.cs
- MemberAccessException.cs
- EncryptedType.cs
- StyleXamlParser.cs
- WebPartConnectionCollection.cs
- StoragePropertyMapping.cs
- NonSerializedAttribute.cs
- Int32Rect.cs
- WorkflowInstanceAbortedRecord.cs
- EditorPartChrome.cs
- StructuredTypeEmitter.cs
- RegexReplacement.cs
- XhtmlCssHandler.cs
- DynamicPropertyHolder.cs
- TdsParserSafeHandles.cs
- ConnectionPointGlyph.cs
- PageAdapter.cs
- WorkflowViewStateService.cs
- SpanIndex.cs
- TreeBuilder.cs
- ObjectSet.cs
- mediaeventshelper.cs
- TextTreeFixupNode.cs
- Model3D.cs
- ToolStripRenderEventArgs.cs
- _ProxyRegBlob.cs
- RefreshPropertiesAttribute.cs
- ObjectListShowCommandsEventArgs.cs
- XmlEntity.cs
- ResourceDescriptionAttribute.cs
- TextEndOfSegment.cs
- FieldNameLookup.cs
- CodeAttributeArgumentCollection.cs
- Selector.cs
- RoleGroup.cs
- PixelFormat.cs
- TreeNodeStyleCollectionEditor.cs
- StubHelpers.cs
- InvalidAsynchronousStateException.cs
- AssemblyCollection.cs
- IgnoreFileBuildProvider.cs