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
- WindowsRegion.cs
- SerializationSectionGroup.cs
- XamlRtfConverter.cs
- RecognizerBase.cs
- CompModSwitches.cs
- Win32Native.cs
- VectorKeyFrameCollection.cs
- CLRBindingWorker.cs
- SqlCacheDependencySection.cs
- ChameleonKey.cs
- BuildResult.cs
- WorkflowCompensationBehavior.cs
- WebPermission.cs
- ItemCheckedEvent.cs
- KeyGestureConverter.cs
- ClientFormsAuthenticationCredentials.cs
- RequestTimeoutManager.cs
- RectangleGeometry.cs
- RoleService.cs
- CollectionType.cs
- CompareInfo.cs
- WebPartMovingEventArgs.cs
- FieldNameLookup.cs
- PointCollectionConverter.cs
- BeginEvent.cs
- TextProperties.cs
- OdbcConnectionString.cs
- ThumbButtonInfo.cs
- VisualStyleRenderer.cs
- ContextMarshalException.cs
- ExpandCollapseProviderWrapper.cs
- ReversePositionQuery.cs
- DataGridViewAddColumnDialog.cs
- x509store.cs
- DtcInterfaces.cs
- TextRunProperties.cs
- OutputWindow.cs
- SqlCommandBuilder.cs
- XmlNavigatorStack.cs
- SettingsPropertyValue.cs
- IconConverter.cs
- RealizationContext.cs
- RbTree.cs
- TransmissionStrategy.cs
- ManagedIStream.cs
- ExpressionPrefixAttribute.cs
- RequestQueryParser.cs
- HostProtectionPermission.cs
- CacheOutputQuery.cs
- UserNameSecurityTokenProvider.cs
- X509CertificateTrustedIssuerElementCollection.cs
- ImmutableCollection.cs
- ThumbAutomationPeer.cs
- AQNBuilder.cs
- XhtmlConformanceSection.cs
- CompiledRegexRunnerFactory.cs
- SerialReceived.cs
- SmtpCommands.cs
- WindowsAuthenticationEventArgs.cs
- StoreContentChangedEventArgs.cs
- AxParameterData.cs
- RepeatInfo.cs
- SqlReorderer.cs
- AppDomainUnloadedException.cs
- InvalidComObjectException.cs
- HtmlWindowCollection.cs
- WindowsGraphicsCacheManager.cs
- PageScaling.cs
- NetCodeGroup.cs
- RectangleGeometry.cs
- WindowsEditBoxRange.cs
- CDSCollectionETWBCLProvider.cs
- PersistencePipeline.cs
- WmfPlaceableFileHeader.cs
- ListDataHelper.cs
- CommandHelper.cs
- TemplatePropertyEntry.cs
- ServerIdentity.cs
- _FtpControlStream.cs
- PackWebResponse.cs
- FrameSecurityDescriptor.cs
- SerializableAuthorizationContext.cs
- LinqTreeNodeEvaluator.cs
- FlowSwitchLink.cs
- AnnotationComponentManager.cs
- InputLangChangeEvent.cs
- ScriptResourceDefinition.cs
- AutoResetEvent.cs
- ProfessionalColorTable.cs
- Literal.cs
- LateBoundBitmapDecoder.cs
- DelimitedListTraceListener.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- InstanceLockLostException.cs
- HtmlInputReset.cs
- DirectoryObjectSecurity.cs
- TogglePattern.cs
- QuaternionAnimation.cs
- DataBoundControlAdapter.cs
- RuntimeWrappedException.cs