Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaValidationException.cs / 1 / 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.Demand,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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EntityDataSourceChangedEventArgs.cs
- ObjectSet.cs
- BamlBinaryReader.cs
- EndOfStreamException.cs
- HtmlFormWrapper.cs
- OleDbDataAdapter.cs
- RuleSettings.cs
- VisualProxy.cs
- HttpResponseBase.cs
- ThrowHelper.cs
- PolicyLevel.cs
- NegotiateStream.cs
- ValueUtilsSmi.cs
- WinEventQueueItem.cs
- RoutedEventArgs.cs
- MimeMapping.cs
- TrustManager.cs
- UserControlParser.cs
- SplineKeyFrames.cs
- CellTreeNodeVisitors.cs
- PropertyMapper.cs
- SubclassTypeValidator.cs
- DocumentGridPage.cs
- MultiByteCodec.cs
- CounterCreationDataCollection.cs
- RegistryDataKey.cs
- AssemblyHash.cs
- TypeToTreeConverter.cs
- unsafeIndexingFilterStream.cs
- Rule.cs
- CustomErrorCollection.cs
- TypeInformation.cs
- PaperSize.cs
- ExceptionUtility.cs
- ValidationResult.cs
- Compiler.cs
- SecurityKeyType.cs
- XmlReflectionMember.cs
- SoapCodeExporter.cs
- Semaphore.cs
- PointCollection.cs
- MessageContractExporter.cs
- ConnectionManagementElement.cs
- EventSource.cs
- PartialList.cs
- BaseTemplateParser.cs
- WorkflowRuntimeServiceElementCollection.cs
- ExtenderHelpers.cs
- X509Utils.cs
- SinglePageViewer.cs
- TransactionBehavior.cs
- FixedNode.cs
- ConnectionManagementElement.cs
- ValueOfAction.cs
- _Connection.cs
- VariantWrapper.cs
- SessionStateModule.cs
- AutomationProperty.cs
- BuildResultCache.cs
- JoinTreeSlot.cs
- StylusButtonEventArgs.cs
- HtmlToClrEventProxy.cs
- NotImplementedException.cs
- BuildResultCache.cs
- SEHException.cs
- XmlSchemaObjectCollection.cs
- LinqDataSourceDisposeEventArgs.cs
- SessionStateModule.cs
- DataContractSet.cs
- AnimatedTypeHelpers.cs
- BrowserCapabilitiesFactoryBase.cs
- ObjectDataSourceStatusEventArgs.cs
- ServiceHostFactory.cs
- SessionSwitchEventArgs.cs
- XamlClipboardData.cs
- EventBuilder.cs
- IDReferencePropertyAttribute.cs
- GradientStop.cs
- SemaphoreFullException.cs
- UseLicense.cs
- HexParser.cs
- XmlDataSourceView.cs
- DomainConstraint.cs
- PaintEvent.cs
- Query.cs
- ManifestResourceInfo.cs
- sortedlist.cs
- AlternateViewCollection.cs
- SudsWriter.cs
- NullRuntimeConfig.cs
- PrintingPermission.cs
- ComboBoxAutomationPeer.cs
- PageBreakRecord.cs
- XmlSchemaSimpleType.cs
- GenericTextProperties.cs
- ProviderBase.cs
- InvokeHandlers.cs
- util.cs
- CodeAttachEventStatement.cs
- UnknownWrapper.cs