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
- SerializationException.cs
- BoundingRectTracker.cs
- NumericPagerField.cs
- TypeDescriptor.cs
- CharacterBuffer.cs
- ListDictionaryInternal.cs
- IsolatedStorageFilePermission.cs
- FlatButtonAppearance.cs
- SqlCacheDependencySection.cs
- SupportedAddressingMode.cs
- MemberAccessException.cs
- LogicalExpr.cs
- WindowsRichEdit.cs
- StatusBarPanelClickEvent.cs
- Popup.cs
- SafeNativeMethods.cs
- AbstractExpressions.cs
- ListViewItem.cs
- WhitespaceRuleReader.cs
- XpsThumbnail.cs
- TextServicesProperty.cs
- ArraySubsetEnumerator.cs
- TransformGroup.cs
- UInt16Converter.cs
- LinkUtilities.cs
- WinEventQueueItem.cs
- DockAndAnchorLayout.cs
- TdsParserSafeHandles.cs
- StateRuntime.cs
- Error.cs
- SqlColumnizer.cs
- StickyNoteHelper.cs
- RawStylusInputCustomData.cs
- CompilerGlobalScopeAttribute.cs
- Operator.cs
- SafeNativeMethods.cs
- EncodingTable.cs
- IntAverageAggregationOperator.cs
- DesignerActionVerbList.cs
- ObjectSet.cs
- TextContainer.cs
- MenuItem.cs
- MulticastDelegate.cs
- XmlChoiceIdentifierAttribute.cs
- AlternateView.cs
- StaticTextPointer.cs
- CollectionExtensions.cs
- BuilderPropertyEntry.cs
- ParameterBinding.cs
- ClientUIRequest.cs
- AsyncCodeActivity.cs
- ServiceMetadataContractBehavior.cs
- Rule.cs
- FrameworkEventSource.cs
- CompatibleComparer.cs
- DynamicValueConverter.cs
- ReadOnlyHierarchicalDataSource.cs
- PointF.cs
- TableItemProviderWrapper.cs
- GeneralTransform2DTo3D.cs
- RequestCachingSection.cs
- ObjectConverter.cs
- ResetableIterator.cs
- AccessKeyManager.cs
- GeometryModel3D.cs
- DbUpdateCommandTree.cs
- BitmapFrame.cs
- UIElementAutomationPeer.cs
- TagNameToTypeMapper.cs
- ArgumentException.cs
- Formatter.cs
- PrintDialog.cs
- TrackingExtract.cs
- ConstructorNeedsTagAttribute.cs
- CheckedListBox.cs
- DiscreteKeyFrames.cs
- EntityDataSourceDesigner.cs
- WebSysDescriptionAttribute.cs
- PingReply.cs
- ActivationArguments.cs
- BindingMAnagerBase.cs
- EFTableProvider.cs
- CharacterString.cs
- AnonymousIdentificationSection.cs
- MemoryMappedViewAccessor.cs
- SmiEventSink_Default.cs
- HttpPostedFile.cs
- QueryContinueDragEventArgs.cs
- InfoCardArgumentException.cs
- FactoryRecord.cs
- SrgsDocument.cs
- TypeConstant.cs
- ADMembershipProvider.cs
- ActivitySurrogate.cs
- TriggerAction.cs
- XappLauncher.cs
- WebPartZoneCollection.cs
- DependencyPropertyAttribute.cs
- FileLogRecordEnumerator.cs
- SqlDependencyListener.cs