1 #region Imports 2 3 using System; 4 using System.ComponentModel; 5 using System.Diagnostics; 6 using System.Collections; 7 using System.Collections.Generic; 8 using System.Collections.Specialized; 9 using System.Collections.ObjectModel; 10 using System.Configuration; 11 using System.Reflection; 12 using System.Threading; 13 using System.Globalization; 14 using System.IO; 15 using System.Workflow.Runtime.Hosting; 16 using System.Workflow.Runtime.Configuration; 17 using System.Workflow.ComponentModel; 18 using System.Workflow.Runtime.Tracking; 19 using System.Workflow.ComponentModel.Compiler; 20 using System.Xml; 21 using System.Workflow.Runtime.DebugEngine; 22 using System.Workflow.ComponentModel.Serialization; 23 using System.ComponentModel.Design; 24 using System.ComponentModel.Design.Serialization; 25 26 #endregion 27 28 namespace System.Workflow.Runtime 29 { 30 #region Class ServicesExceptionNotHandledEventArgs 31 32 [Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")] 33 public sealed class ServicesExceptionNotHandledEventArgs : EventArgs 34 { 35 private Exception exception; 36 private Guid instanceId; 37 ServicesExceptionNotHandledEventArgs(Exception exception, Guid instanceId)38 internal ServicesExceptionNotHandledEventArgs(Exception exception, Guid instanceId) 39 { 40 this.exception = exception; 41 this.instanceId = instanceId; 42 } 43 44 public Exception Exception 45 { 46 get { return exception; } 47 } 48 49 public Guid WorkflowInstanceId 50 { 51 get { return instanceId; } 52 } 53 } 54 55 #endregion 56 } 57