Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / ValidationEventArgs.cs / 1305376 / ValidationEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { ////// /// Returns detailed information relating to /// the ValidationEventhandler. /// public class ValidationEventArgs : EventArgs { XmlSchemaException ex; XmlSeverityType severity; internal ValidationEventArgs( XmlSchemaException ex ) : base() { this.ex = ex; severity = XmlSeverityType.Error; } internal ValidationEventArgs( XmlSchemaException ex , XmlSeverityType severity ) : base() { this.ex = ex; this.severity = severity; } ///public XmlSeverityType Severity { get { return severity;} } /// public XmlSchemaException Exception { get { return ex;} } /// /// /// public String Message { get { return ex.Message;} } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the text description corresponding to the /// validation error. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { ////// /// Returns detailed information relating to /// the ValidationEventhandler. /// public class ValidationEventArgs : EventArgs { XmlSchemaException ex; XmlSeverityType severity; internal ValidationEventArgs( XmlSchemaException ex ) : base() { this.ex = ex; severity = XmlSeverityType.Error; } internal ValidationEventArgs( XmlSchemaException ex , XmlSeverityType severity ) : base() { this.ex = ex; this.severity = severity; } ///public XmlSeverityType Severity { get { return severity;} } /// public XmlSchemaException Exception { get { return ex;} } /// /// /// public String Message { get { return ex.Message;} } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the text description corresponding to the /// validation error. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DefaultHttpHandler.cs
- TreeNodeBinding.cs
- ISO2022Encoding.cs
- NameValueSectionHandler.cs
- Int32CAMarshaler.cs
- RequestQueue.cs
- mda.cs
- XmlCodeExporter.cs
- WmpBitmapDecoder.cs
- Propagator.JoinPropagator.cs
- DataSourceSelectArguments.cs
- EmbeddedObject.cs
- ExpressionTextBoxAutomationPeer.cs
- JoinCqlBlock.cs
- ToolboxItemFilterAttribute.cs
- PasswordBox.cs
- StopStoryboard.cs
- PageAsyncTask.cs
- InputManager.cs
- LinqExpressionNormalizer.cs
- MessageFilterTable.cs
- XmlSortKeyAccumulator.cs
- WebServiceBindingAttribute.cs
- FormViewPagerRow.cs
- ReferenceSchema.cs
- TypeListConverter.cs
- FontSourceCollection.cs
- SignatureToken.cs
- Util.cs
- IndexedEnumerable.cs
- CategoryGridEntry.cs
- MimeTypeMapper.cs
- ConfigurationManagerHelperFactory.cs
- MembershipPasswordException.cs
- StateValidator.cs
- NullReferenceException.cs
- RC2CryptoServiceProvider.cs
- FormsAuthenticationEventArgs.cs
- TextCollapsingProperties.cs
- SymbolUsageManager.cs
- AttributeCollection.cs
- ScopedMessagePartSpecification.cs
- CaseInsensitiveHashCodeProvider.cs
- ForEachDesigner.xaml.cs
- VersionedStream.cs
- RectangleGeometry.cs
- ValuePatternIdentifiers.cs
- ButtonBaseAdapter.cs
- Pen.cs
- OleDbCommandBuilder.cs
- ErrorFormatterPage.cs
- XPathNode.cs
- XPathNavigatorReader.cs
- SecurityTokenValidationException.cs
- ArrayTypeMismatchException.cs
- wgx_exports.cs
- CmsInterop.cs
- ColorDialog.cs
- ValidationSummary.cs
- NativeCppClassAttribute.cs
- SharedUtils.cs
- XmlStreamStore.cs
- UserThread.cs
- LayoutTableCell.cs
- SharedDp.cs
- PackWebResponse.cs
- DbConnectionPool.cs
- DynamicContractTypeBuilder.cs
- PlainXmlWriter.cs
- BasicHttpMessageSecurityElement.cs
- COM2PropertyPageUITypeConverter.cs
- X509Certificate.cs
- Inflater.cs
- loginstatus.cs
- Clipboard.cs
- QueryStringParameter.cs
- WeakReference.cs
- PointKeyFrameCollection.cs
- VisualTarget.cs
- DataStreamFromComStream.cs
- TcpTransportSecurityElement.cs
- XsdDataContractExporter.cs
- XmlDsigSep2000.cs
- RIPEMD160Managed.cs
- ObjectContext.cs
- TreeNodeStyleCollection.cs
- Encoding.cs
- SortedDictionary.cs
- DrawToolTipEventArgs.cs
- RSAPKCS1SignatureFormatter.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- ResXFileRef.cs
- SystemColors.cs
- RuntimeResourceSet.cs
- Hashtable.cs
- _TLSstream.cs
- VScrollProperties.cs
- MetadataPropertyCollection.cs
- ComUdtElementCollection.cs
- TypeBuilderInstantiation.cs