Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaValidationException.cs / 1305376 / XmlSchemaValidationException.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System; using System.IO; using System.Text; using System.Resources; using System.Runtime.Serialization; using System.Diagnostics; using System.Security.Permissions; ///[Serializable] public class XmlSchemaValidationException : XmlSchemaException { private Object sourceNodeObject; /// protected XmlSchemaValidationException(SerializationInfo info, StreamingContext context) : base(info, context) {} /// [SecurityPermissionAttribute(SecurityAction.LinkDemand,SerializationFormatter=true)] public override void GetObjectData(SerializationInfo info, StreamingContext context) { base.GetObjectData(info, context); } /// public XmlSchemaValidationException() : base(null) { } /// public XmlSchemaValidationException(String message) : base (message, ((Exception)null), 0, 0) { } /// public XmlSchemaValidationException(String message, Exception innerException) : base (message, innerException, 0, 0) { } /// public XmlSchemaValidationException(String message, Exception innerException, int lineNumber, int linePosition) : base(message, innerException, lineNumber, linePosition) { } internal XmlSchemaValidationException(string res, string[] args) : base(res, args, null, null, 0, 0, null) { } internal XmlSchemaValidationException(string res, string arg) : base(res, new string[] { arg }, null, null, 0, 0, null) { } internal XmlSchemaValidationException(string res, string arg, string sourceUri, int lineNumber, int linePosition) : base(res, new string[] { arg }, null, sourceUri, lineNumber, linePosition, null) { } internal XmlSchemaValidationException(string res, string sourceUri, int lineNumber, int linePosition) : base(res, (string[])null, null, sourceUri, lineNumber, linePosition, null) { } internal XmlSchemaValidationException(string res, string[] args, string sourceUri, int lineNumber, int linePosition) : base(res, args, null, sourceUri, lineNumber, linePosition, null) { } internal XmlSchemaValidationException(string res, string[] args, Exception innerException, string sourceUri, int lineNumber, int linePosition) : base(res, args, innerException, sourceUri, lineNumber, linePosition, null) { } internal XmlSchemaValidationException(string res, string[] args, object sourceNode) : base(res, args, null, null, 0, 0, null) { this.sourceNodeObject = sourceNode; } internal XmlSchemaValidationException(string res, string[] args, string sourceUri, object sourceNode) : base(res, args, null, sourceUri, 0, 0, null) { this.sourceNodeObject = sourceNode; } internal XmlSchemaValidationException(string res, string[] args, string sourceUri, int lineNumber, int linePosition, XmlSchemaObject source, object sourceNode) : base(res, args, null, sourceUri, lineNumber, linePosition, source) { this.sourceNodeObject = sourceNode; } /// public Object SourceObject { get { return this.sourceNodeObject; } } protected internal void SetSourceObject (Object sourceObject){ this.sourceNodeObject = sourceObject; } }; } // namespace System.Xml.Schema // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System; using System.IO; using System.Text; using System.Resources; using System.Runtime.Serialization; using System.Diagnostics; using System.Security.Permissions; ///[Serializable] public class XmlSchemaValidationException : XmlSchemaException { private Object sourceNodeObject; /// protected XmlSchemaValidationException(SerializationInfo info, StreamingContext context) : base(info, context) {} /// [SecurityPermissionAttribute(SecurityAction.LinkDemand,SerializationFormatter=true)] public override void GetObjectData(SerializationInfo info, StreamingContext context) { base.GetObjectData(info, context); } /// public XmlSchemaValidationException() : base(null) { } /// public XmlSchemaValidationException(String message) : base (message, ((Exception)null), 0, 0) { } /// public XmlSchemaValidationException(String message, Exception innerException) : base (message, innerException, 0, 0) { } /// public XmlSchemaValidationException(String message, Exception innerException, int lineNumber, int linePosition) : base(message, innerException, lineNumber, linePosition) { } internal XmlSchemaValidationException(string res, string[] args) : base(res, args, null, null, 0, 0, null) { } internal XmlSchemaValidationException(string res, string arg) : base(res, new string[] { arg }, null, null, 0, 0, null) { } internal XmlSchemaValidationException(string res, string arg, string sourceUri, int lineNumber, int linePosition) : base(res, new string[] { arg }, null, sourceUri, lineNumber, linePosition, null) { } internal XmlSchemaValidationException(string res, string sourceUri, int lineNumber, int linePosition) : base(res, (string[])null, null, sourceUri, lineNumber, linePosition, null) { } internal XmlSchemaValidationException(string res, string[] args, string sourceUri, int lineNumber, int linePosition) : base(res, args, null, sourceUri, lineNumber, linePosition, null) { } internal XmlSchemaValidationException(string res, string[] args, Exception innerException, string sourceUri, int lineNumber, int linePosition) : base(res, args, innerException, sourceUri, lineNumber, linePosition, null) { } internal XmlSchemaValidationException(string res, string[] args, object sourceNode) : base(res, args, null, null, 0, 0, null) { this.sourceNodeObject = sourceNode; } internal XmlSchemaValidationException(string res, string[] args, string sourceUri, object sourceNode) : base(res, args, null, sourceUri, 0, 0, null) { this.sourceNodeObject = sourceNode; } internal XmlSchemaValidationException(string res, string[] args, string sourceUri, int lineNumber, int linePosition, XmlSchemaObject source, object sourceNode) : base(res, args, null, sourceUri, lineNumber, linePosition, source) { this.sourceNodeObject = sourceNode; } /// public Object SourceObject { get { return this.sourceNodeObject; } } protected internal void SetSourceObject (Object sourceObject){ this.sourceNodeObject = sourceObject; } }; } // namespace System.Xml.Schema // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ColumnResult.cs
- ToolStripPanelRenderEventArgs.cs
- ReadOnlyHierarchicalDataSourceView.cs
- PixelFormatConverter.cs
- IQueryable.cs
- NotCondition.cs
- TreeNodeEventArgs.cs
- InvalidProgramException.cs
- MenuCommands.cs
- BypassElement.cs
- DataColumnMappingCollection.cs
- DomNameTable.cs
- WebPartHelpVerb.cs
- AnimationLayer.cs
- initElementDictionary.cs
- DisposableCollectionWrapper.cs
- AssociatedControlConverter.cs
- GPRECTF.cs
- MessageQueueTransaction.cs
- StorageModelBuildProvider.cs
- storepermissionattribute.cs
- DataGridTable.cs
- EpmSourceTree.cs
- ScriptModule.cs
- AttachedAnnotation.cs
- WinFormsSecurity.cs
- ClientRuntime.cs
- SelectorAutomationPeer.cs
- OutputCacheSettingsSection.cs
- UpdateProgress.cs
- WSSecurityXXX2005.cs
- CryptoProvider.cs
- TextFormatterContext.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- DefaultSettingsSection.cs
- Calendar.cs
- ToolStripComboBox.cs
- RegexFCD.cs
- PanelStyle.cs
- XamlHostingSectionGroup.cs
- HtmlValidationSummaryAdapter.cs
- TableDetailsRow.cs
- coordinator.cs
- SQLInt32Storage.cs
- SourceSwitch.cs
- ToolStripContextMenu.cs
- shaperfactoryquerycacheentry.cs
- XPathNavigatorException.cs
- NumberSubstitution.cs
- XPathQueryGenerator.cs
- PathTooLongException.cs
- TiffBitmapDecoder.cs
- RegexGroupCollection.cs
- ASCIIEncoding.cs
- XmlNamedNodeMap.cs
- SmtpClient.cs
- InheritanceAttribute.cs
- QueryConverter.cs
- SiteMapNodeItemEventArgs.cs
- ObjectConverter.cs
- TransformCollection.cs
- StickyNote.cs
- Stack.cs
- PropertyContainer.cs
- WindowsStartMenu.cs
- SiteMapNode.cs
- SspiWrapper.cs
- MiniMapControl.xaml.cs
- ToolStripItemImageRenderEventArgs.cs
- DrawingGroupDrawingContext.cs
- ItemAutomationPeer.cs
- CacheChildrenQuery.cs
- IteratorDescriptor.cs
- InputElement.cs
- GiveFeedbackEventArgs.cs
- HttpCookiesSection.cs
- Style.cs
- EventMappingSettings.cs
- SerializationAttributes.cs
- SizeConverter.cs
- SelectionItemProviderWrapper.cs
- WebPartChrome.cs
- LogWriteRestartAreaState.cs
- RuntimeArgumentHandle.cs
- ParsedAttributeCollection.cs
- InkCanvasAutomationPeer.cs
- ClientSettings.cs
- FieldBuilder.cs
- CompressStream.cs
- ProgressBar.cs
- RootBrowserWindowProxy.cs
- SubMenuStyle.cs
- HttpMethodAttribute.cs
- PrincipalPermission.cs
- ResourceKey.cs
- Annotation.cs
- ConfigXmlComment.cs
- WebPartZoneBase.cs
- CqlParserHelpers.cs
- FlowSwitch.cs