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
- _ReceiveMessageOverlappedAsyncResult.cs
- CornerRadius.cs
- TileBrush.cs
- MetadataCache.cs
- RequestCacheValidator.cs
- ExpressionServices.cs
- WindowsToolbarAsMenu.cs
- MemberMaps.cs
- StreamWithDictionary.cs
- DateTimeFormatInfoScanner.cs
- RightsManagementEncryptedStream.cs
- DataBoundControlDesigner.cs
- OdbcConnectionFactory.cs
- DataListDesigner.cs
- StopRoutingHandler.cs
- UrlMapping.cs
- WebAdminConfigurationHelper.cs
- BindingGraph.cs
- SmiEventStream.cs
- IERequestCache.cs
- ReferenceEqualityComparer.cs
- PermissionSetTriple.cs
- SHA256Managed.cs
- MultitargetingHelpers.cs
- Path.cs
- HealthMonitoringSection.cs
- EventSinkHelperWriter.cs
- ProxyFragment.cs
- RTTrackingProfile.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- PropertyEmitterBase.cs
- PackWebRequestFactory.cs
- HtmlHistory.cs
- CryptoHelper.cs
- InheritedPropertyChangedEventArgs.cs
- DataSetMappper.cs
- OleDbParameter.cs
- ColorAnimation.cs
- DesignerCalendarAdapter.cs
- WindowsPrincipal.cs
- TimeoutValidationAttribute.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- CompiledQueryCacheKey.cs
- XmlBaseWriter.cs
- BaseParaClient.cs
- SqlStream.cs
- OdbcConnectionString.cs
- ExpressionParser.cs
- RadioButton.cs
- SubMenuStyleCollection.cs
- SqlAliasesReferenced.cs
- Processor.cs
- BuildManagerHost.cs
- StreamResourceInfo.cs
- BamlResourceDeserializer.cs
- SoapAttributeOverrides.cs
- XPathArrayIterator.cs
- AsymmetricKeyExchangeDeformatter.cs
- ReferenceConverter.cs
- SecurityDescriptor.cs
- RenamedEventArgs.cs
- InternalEnumValidatorAttribute.cs
- RuntimeConfigurationRecord.cs
- ReliabilityContractAttribute.cs
- FrameworkElement.cs
- PrimitiveType.cs
- LiteralText.cs
- SmiXetterAccessMap.cs
- RegistryKey.cs
- SelectedCellsCollection.cs
- ReadOnlyDataSource.cs
- Image.cs
- ValidationPropertyAttribute.cs
- TokenBasedSet.cs
- FactoryGenerator.cs
- loginstatus.cs
- SafeNativeMethods.cs
- RangeValueProviderWrapper.cs
- GCHandleCookieTable.cs
- ToolStrip.cs
- DataSetViewSchema.cs
- HtmlForm.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- CreateParams.cs
- Matrix3DValueSerializer.cs
- CellPartitioner.cs
- XpsFilter.cs
- EmbeddedMailObjectsCollection.cs
- TraceContextEventArgs.cs
- ScriptRef.cs
- MsmqHostedTransportConfiguration.cs
- WindowsTab.cs
- ProgressiveCrcCalculatingStream.cs
- XmlSchemaSet.cs
- XmlCDATASection.cs
- HttpRequestCacheValidator.cs
- SiteMapNodeCollection.cs
- GatewayIPAddressInformationCollection.cs
- OptimalTextSource.cs
- AvTraceDetails.cs