Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- _OSSOCK.cs
- AsyncOperation.cs
- ExtenderProviderService.cs
- TypedDatasetGenerator.cs
- InstalledVoice.cs
- UrlPath.cs
- ListenerBinder.cs
- Soap12ProtocolReflector.cs
- WindowsBrush.cs
- DbParameterCollection.cs
- DatePickerTextBox.cs
- XmlDataImplementation.cs
- PagePropertiesChangingEventArgs.cs
- UnsettableComboBox.cs
- OutputCacheSettings.cs
- CornerRadiusConverter.cs
- CompilationSection.cs
- DataGridViewCellLinkedList.cs
- XmlILConstructAnalyzer.cs
- NativeMethods.cs
- Group.cs
- ListBase.cs
- ManagementObjectCollection.cs
- Cloud.cs
- VirtualDirectoryMapping.cs
- UserControlCodeDomTreeGenerator.cs
- CompilerState.cs
- VectorCollectionValueSerializer.cs
- WebPartCollection.cs
- Literal.cs
- DesignTimeParseData.cs
- DataSourceListEditor.cs
- FreezableOperations.cs
- FontEditor.cs
- Vector3DConverter.cs
- DefinitionBase.cs
- TextFormatter.cs
- ObjectItemCollection.cs
- BypassElementCollection.cs
- CodeFieldReferenceExpression.cs
- DesignerAdapterAttribute.cs
- ExclusiveTcpTransportManager.cs
- DesignerActionListCollection.cs
- PkcsMisc.cs
- SectionInformation.cs
- InvalidOleVariantTypeException.cs
- httpserverutility.cs
- MetafileHeaderEmf.cs
- ExternalCalls.cs
- ListenerSingletonConnectionReader.cs
- ImageInfo.cs
- ApplicationFileCodeDomTreeGenerator.cs
- TypeConverterHelper.cs
- DesignerTransaction.cs
- _UriTypeConverter.cs
- OutputWindow.cs
- TogglePattern.cs
- RootAction.cs
- ItemCollection.cs
- InputLanguageCollection.cs
- RemotingSurrogateSelector.cs
- CryptoConfig.cs
- TypeSemantics.cs
- XamlBuildProvider.cs
- _NestedSingleAsyncResult.cs
- OdbcConnectionFactory.cs
- AncillaryOps.cs
- Ray3DHitTestResult.cs
- ArrayList.cs
- XmlnsCompatibleWithAttribute.cs
- ProtectedConfigurationProviderCollection.cs
- AssemblyCache.cs
- Stack.cs
- XmlNodeChangedEventArgs.cs
- DataServiceHostFactory.cs
- OleStrCAMarshaler.cs
- GeneralTransform2DTo3D.cs
- DataGridCellItemAutomationPeer.cs
- Math.cs
- CounterCreationData.cs
- UdpChannelFactory.cs
- SafeLocalMemHandle.cs
- AccessorTable.cs
- XmlTypeMapping.cs
- XslAstAnalyzer.cs
- NonSerializedAttribute.cs
- RequestCacheEntry.cs
- Typeface.cs
- NamedPermissionSet.cs
- TypeForwardedToAttribute.cs
- PerspectiveCamera.cs
- ValueProviderWrapper.cs
- GeometryHitTestResult.cs
- LoginView.cs
- CaseInsensitiveComparer.cs
- XmlSerializationReader.cs
- OutputScopeManager.cs
- FixedBufferAttribute.cs
- XmlAttributeAttribute.cs
- DataGridRelationshipRow.cs