Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. // //[....] //----------------------------------------------------------------------------- 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Internal.cs
- MetadataUtilsSmi.cs
- TrackPoint.cs
- XmlSchemaSimpleTypeRestriction.cs
- SystemMulticastIPAddressInformation.cs
- FixedPage.cs
- GridViewItemAutomationPeer.cs
- ComboBoxRenderer.cs
- Opcode.cs
- XmlSchemaRedefine.cs
- XamlClipboardData.cs
- PackageRelationshipCollection.cs
- XmlQueryTypeFactory.cs
- BinaryCommonClasses.cs
- DataTemplateSelector.cs
- XmlSchemas.cs
- BinarySerializer.cs
- ListDictionaryInternal.cs
- TrustManager.cs
- UIElementParagraph.cs
- SmtpCommands.cs
- XmlDictionary.cs
- ContextMenuAutomationPeer.cs
- CqlBlock.cs
- UpDownEvent.cs
- namescope.cs
- InternalResources.cs
- SqlDataSourceCommandEventArgs.cs
- MimeWriter.cs
- Visual.cs
- AssemblyAttributesGoHere.cs
- Localizer.cs
- CorrelationQueryBehavior.cs
- Parallel.cs
- ShadowGlyph.cs
- AmbientLight.cs
- TimeIntervalCollection.cs
- SpeechRecognizer.cs
- SynchronizedInputProviderWrapper.cs
- Block.cs
- DataGridViewRowPrePaintEventArgs.cs
- BooleanAnimationUsingKeyFrames.cs
- ConfigurationStrings.cs
- diagnosticsswitches.cs
- TranslateTransform.cs
- PointUtil.cs
- TextEditorSpelling.cs
- Pair.cs
- ContentElementAutomationPeer.cs
- ConfigurationManagerHelper.cs
- ObjectDataSourceDesigner.cs
- ScrollPattern.cs
- XsltLoader.cs
- BindingsCollection.cs
- While.cs
- ExpanderAutomationPeer.cs
- OracleNumber.cs
- ToolStripCustomTypeDescriptor.cs
- __Filters.cs
- SqlCacheDependencyDatabaseCollection.cs
- TypeInformation.cs
- SessionMode.cs
- XmlText.cs
- ServiceModelConfigurationSectionCollection.cs
- EditorPart.cs
- DefaultTraceListener.cs
- XmlSchemaSimpleTypeRestriction.cs
- Positioning.cs
- DPCustomTypeDescriptor.cs
- FileRegion.cs
- FormsAuthentication.cs
- VisualStyleElement.cs
- XpsFixedPageReaderWriter.cs
- ContainerUIElement3D.cs
- TextSchema.cs
- JapaneseCalendar.cs
- AxisAngleRotation3D.cs
- RuntimeTrackingProfile.cs
- StorageEntitySetMapping.cs
- Converter.cs
- SafeCryptoHandles.cs
- EntityCommandCompilationException.cs
- ProcessModelInfo.cs
- RadioButton.cs
- TypeInitializationException.cs
- ReferentialConstraint.cs
- FastEncoder.cs
- Rfc2898DeriveBytes.cs
- SoapIgnoreAttribute.cs
- ReadOnlyCollection.cs
- Win32Exception.cs
- Internal.cs
- TreeNode.cs
- GroupQuery.cs
- LinqDataSourceView.cs
- HMAC.cs
- Pool.cs
- JsonDeserializer.cs
- RegistryExceptionHelper.cs
- EncoderExceptionFallback.cs