Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Common / AuthoringOM / Serializer / WorkflowMarkupSerializationException.cs / 1305376 / WorkflowMarkupSerializationException.cs
namespace System.Workflow.ComponentModel.Serialization { using System; using System.IO; using System.CodeDom; using System.ComponentModel; using System.ComponentModel.Design; using System.ComponentModel.Design.Serialization; using System.Collections; using System.Xml; using System.Xml.Serialization; using System.Reflection; using System.Collections.Generic; using System.Diagnostics; using System.Text; using System.Globalization; using System.Workflow.ComponentModel.Compiler; using System.Workflow.ComponentModel.Design; using System.Runtime.Serialization; using System.Security.Permissions; using System.Collections.ObjectModel; using System.Drawing; #region Class WorkflowMarkupSerializationException [Serializable()] public class WorkflowMarkupSerializationException : Exception { private int lineNumber = -1; private int columnNumber = -1; public WorkflowMarkupSerializationException(string message, int lineNumber, int columnNumber) :base(message) { this.lineNumber = lineNumber; this.columnNumber = columnNumber; } public WorkflowMarkupSerializationException(string message, Exception innerException, int lineNumber, int columnNumber) :base(message, innerException) { this.lineNumber = lineNumber; this.columnNumber = columnNumber; } public WorkflowMarkupSerializationException(string message, Exception innerException) : base(message, innerException) { } public WorkflowMarkupSerializationException(string message) :base(message) { } public WorkflowMarkupSerializationException() : base() { } protected WorkflowMarkupSerializationException(SerializationInfo info, StreamingContext context) : base(info, context) { if (info == null) throw new ArgumentNullException("info"); this.lineNumber = info.GetInt32("lineNumber"); this.columnNumber = info.GetInt32("columnNumber"); } public override void GetObjectData(SerializationInfo info, StreamingContext context) { if (info == null) throw new ArgumentNullException("info"); base.GetObjectData(info, context); info.AddValue("lineNumber", this.lineNumber, typeof(int)); info.AddValue("columnNumber", this.columnNumber, typeof(int)); } public int LineNumber { get { return this.lineNumber; } } public int LinePosition { get { return this.columnNumber; } } } #endregion } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. namespace System.Workflow.ComponentModel.Serialization { using System; using System.IO; using System.CodeDom; using System.ComponentModel; using System.ComponentModel.Design; using System.ComponentModel.Design.Serialization; using System.Collections; using System.Xml; using System.Xml.Serialization; using System.Reflection; using System.Collections.Generic; using System.Diagnostics; using System.Text; using System.Globalization; using System.Workflow.ComponentModel.Compiler; using System.Workflow.ComponentModel.Design; using System.Runtime.Serialization; using System.Security.Permissions; using System.Collections.ObjectModel; using System.Drawing; #region Class WorkflowMarkupSerializationException [Serializable()] public class WorkflowMarkupSerializationException : Exception { private int lineNumber = -1; private int columnNumber = -1; public WorkflowMarkupSerializationException(string message, int lineNumber, int columnNumber) :base(message) { this.lineNumber = lineNumber; this.columnNumber = columnNumber; } public WorkflowMarkupSerializationException(string message, Exception innerException, int lineNumber, int columnNumber) :base(message, innerException) { this.lineNumber = lineNumber; this.columnNumber = columnNumber; } public WorkflowMarkupSerializationException(string message, Exception innerException) : base(message, innerException) { } public WorkflowMarkupSerializationException(string message) :base(message) { } public WorkflowMarkupSerializationException() : base() { } protected WorkflowMarkupSerializationException(SerializationInfo info, StreamingContext context) : base(info, context) { if (info == null) throw new ArgumentNullException("info"); this.lineNumber = info.GetInt32("lineNumber"); this.columnNumber = info.GetInt32("columnNumber"); } public override void GetObjectData(SerializationInfo info, StreamingContext context) { if (info == null) throw new ArgumentNullException("info"); base.GetObjectData(info, context); info.AddValue("lineNumber", this.lineNumber, typeof(int)); info.AddValue("columnNumber", this.columnNumber, typeof(int)); } public int LineNumber { get { return this.lineNumber; } } public int LinePosition { get { return this.columnNumber; } } } #endregion } // 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
- GridViewColumnHeaderAutomationPeer.cs
- InputLangChangeRequestEvent.cs
- ChannelSinkStacks.cs
- PrinterUnitConvert.cs
- Matrix3DValueSerializer.cs
- EntityFrameworkVersions.cs
- BmpBitmapDecoder.cs
- _IPv6Address.cs
- QilList.cs
- SByte.cs
- SignatureToken.cs
- DataGridViewSelectedRowCollection.cs
- DataControlCommands.cs
- ListViewItemSelectionChangedEvent.cs
- XmlUtilWriter.cs
- Run.cs
- XmlSignificantWhitespace.cs
- UIElement.cs
- EncoderNLS.cs
- ContainerParagraph.cs
- WaveHeader.cs
- TraceSection.cs
- FontFamilyConverter.cs
- RijndaelManaged.cs
- OutputCacheModule.cs
- GatewayDefinition.cs
- XmlILModule.cs
- InvalidateEvent.cs
- IItemProperties.cs
- Substitution.cs
- ApplicationManager.cs
- SafeTimerHandle.cs
- GPStream.cs
- IItemContainerGenerator.cs
- DataSourceIDConverter.cs
- HttpModuleAction.cs
- Stopwatch.cs
- XmlTypeMapping.cs
- Misc.cs
- Table.cs
- DataViewManagerListItemTypeDescriptor.cs
- XPathNodeInfoAtom.cs
- RowUpdatingEventArgs.cs
- ResourceDescriptionAttribute.cs
- ClientRolePrincipal.cs
- LoadWorkflowCommand.cs
- GZipUtils.cs
- ObjectConverter.cs
- AppDomainUnloadedException.cs
- MachineKeySection.cs
- ObjectCacheHost.cs
- AssemblyAssociatedContentFileAttribute.cs
- TreeSet.cs
- EncoderExceptionFallback.cs
- HttpListenerException.cs
- HashHelper.cs
- LongValidator.cs
- RowToFieldTransformer.cs
- AggregationMinMaxHelpers.cs
- MultiView.cs
- Section.cs
- EntityDataSourceColumn.cs
- ParallelTimeline.cs
- HttpResponseHeader.cs
- VirtualPath.cs
- CssTextWriter.cs
- MaterialGroup.cs
- WorkflowExecutor.cs
- HostingEnvironment.cs
- Inflater.cs
- CodeTypeMember.cs
- SafeArrayRankMismatchException.cs
- HtmlLabelAdapter.cs
- SerialStream.cs
- Policy.cs
- StringConverter.cs
- DbProviderConfigurationHandler.cs
- TdsEnums.cs
- LassoHelper.cs
- GroupLabel.cs
- AccessDataSourceView.cs
- HttpContext.cs
- BaseAppDomainProtocolHandler.cs
- FontUnit.cs
- ImageMapEventArgs.cs
- ResourceKey.cs
- WebPartChrome.cs
- ViewBase.cs
- PrtCap_Builder.cs
- RefreshEventArgs.cs
- TextRunProperties.cs
- SoapHeaders.cs
- GeneralTransform3DCollection.cs
- SecurityTokenException.cs
- PassportPrincipal.cs
- UInt64.cs
- EasingKeyFrames.cs
- _CookieModule.cs
- ObjectTag.cs
- ObjRef.cs