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
- __Filters.cs
- RemotingException.cs
- RunClient.cs
- EventLogger.cs
- PasswordRecoveryDesigner.cs
- StylusPointProperty.cs
- OrderByLifter.cs
- EntityDescriptor.cs
- ComponentDispatcherThread.cs
- MachineKeySection.cs
- Int32CollectionValueSerializer.cs
- UpdateProgress.cs
- While.cs
- SelectionRange.cs
- HttpCacheVary.cs
- BaseTemplateBuildProvider.cs
- TabPanel.cs
- AutomationProperty.cs
- QueryCacheKey.cs
- XmlUtil.cs
- AuthorizationSection.cs
- ExeConfigurationFileMap.cs
- XmlNullResolver.cs
- ListViewSelectEventArgs.cs
- PersonalizationState.cs
- CryptoApi.cs
- DesignerTextBoxAdapter.cs
- PersonalizationProviderCollection.cs
- WindowsTokenRoleProvider.cs
- CompilerInfo.cs
- BitmapMetadataEnumerator.cs
- PropertyTabChangedEvent.cs
- FlowDocument.cs
- DependencyObjectType.cs
- SourceFileBuildProvider.cs
- NameSpaceEvent.cs
- EntityCollection.cs
- WebServiceEnumData.cs
- AesCryptoServiceProvider.cs
- CompareValidator.cs
- Formatter.cs
- DataGridViewColumnStateChangedEventArgs.cs
- ConfigXmlText.cs
- CodeCompiler.cs
- MemoryPressure.cs
- MsmqHostedTransportManager.cs
- WebUtil.cs
- SoapAttributeOverrides.cs
- DynamicRouteExpression.cs
- PrintDialog.cs
- ImplicitInputBrush.cs
- BaseCodePageEncoding.cs
- MetabaseServerConfig.cs
- SingleSelectRootGridEntry.cs
- Identity.cs
- FlowDocumentFormatter.cs
- ZeroOpNode.cs
- HttpTransportSecurity.cs
- WebDescriptionAttribute.cs
- UnsafeMethods.cs
- IconHelper.cs
- ParameterCollection.cs
- IndexedString.cs
- KeyManager.cs
- DbParameterCollectionHelper.cs
- StateDesigner.CommentLayoutGlyph.cs
- CodeMemberEvent.cs
- XmlSchemaSimpleType.cs
- OutputCacheSettingsSection.cs
- RelationshipEnd.cs
- XmlElement.cs
- ToolStripSystemRenderer.cs
- CollectionViewProxy.cs
- CompilerWrapper.cs
- SelectionUIService.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- WebSysDescriptionAttribute.cs
- DataGridColumnReorderingEventArgs.cs
- _ContextAwareResult.cs
- _OverlappedAsyncResult.cs
- DirectoryRootQuery.cs
- NativeMethods.cs
- querybuilder.cs
- ProfileService.cs
- NetworkInformationException.cs
- SystemTcpConnection.cs
- Soap12ProtocolReflector.cs
- EmptyEnumerator.cs
- TextDecoration.cs
- PackageProperties.cs
- RefreshPropertiesAttribute.cs
- NameTable.cs
- DesignerSerializerAttribute.cs
- WebRequestModuleElementCollection.cs
- BamlWriter.cs
- FlowPanelDesigner.cs
- RegexGroup.cs
- ProcessHostConfigUtils.cs
- TabPage.cs
- MaskDescriptor.cs