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
- WebPartDisplayModeCancelEventArgs.cs
- AbsoluteQuery.cs
- XhtmlBasicLabelAdapter.cs
- LookupBindingPropertiesAttribute.cs
- FilteredSchemaElementLookUpTable.cs
- ModuleConfigurationInfo.cs
- DataGridViewComboBoxColumn.cs
- ObjectAssociationEndMapping.cs
- RectangleGeometry.cs
- CaseStatementSlot.cs
- DataColumnMappingCollection.cs
- ToolStripContentPanel.cs
- HotSpot.cs
- ResourcePool.cs
- SqlUdtInfo.cs
- GlyphInfoList.cs
- PeerTransportListenAddressValidatorAttribute.cs
- ParseNumbers.cs
- OdbcParameterCollection.cs
- FixedTextBuilder.cs
- CodeIndexerExpression.cs
- EventProviderTraceListener.cs
- Model3DCollection.cs
- FileVersionInfo.cs
- InstallerTypeAttribute.cs
- WindowsListViewGroup.cs
- AsymmetricKeyExchangeFormatter.cs
- Error.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- RectKeyFrameCollection.cs
- TranslateTransform3D.cs
- SignatureDescription.cs
- WebPartsPersonalizationAuthorization.cs
- PropertyToken.cs
- FormatVersion.cs
- EventItfInfo.cs
- PixelFormats.cs
- PreservationFileWriter.cs
- MessageQueuePermissionEntryCollection.cs
- UIElementCollection.cs
- ComplexLine.cs
- AsymmetricCryptoHandle.cs
- FixedStringLookup.cs
- RawKeyboardInputReport.cs
- GridViewColumnCollectionChangedEventArgs.cs
- SQLInt64.cs
- WorkflowInstanceExtensionCollection.cs
- sortedlist.cs
- RangeValuePatternIdentifiers.cs
- Permission.cs
- WorkflowWebHostingModule.cs
- Helper.cs
- OdbcTransaction.cs
- QueryCacheKey.cs
- ProbeMatchesMessageCD1.cs
- GridView.cs
- TabletDevice.cs
- BaseTemplateParser.cs
- BaseCodePageEncoding.cs
- FileEnumerator.cs
- ConvertEvent.cs
- SafeFileHandle.cs
- WindowsTooltip.cs
- RecipientInfo.cs
- FrameDimension.cs
- ZipIORawDataFileBlock.cs
- ImageMapEventArgs.cs
- ConstraintConverter.cs
- _FtpDataStream.cs
- SqlUserDefinedAggregateAttribute.cs
- BevelBitmapEffect.cs
- WorkerRequest.cs
- Attributes.cs
- BitmapData.cs
- EffectiveValueEntry.cs
- Formatter.cs
- XmlTextWriter.cs
- PrimitiveDataContract.cs
- ConfigUtil.cs
- DataSourceControlBuilder.cs
- DockAndAnchorLayout.cs
- Pair.cs
- HtmlElement.cs
- FilterRepeater.cs
- PerspectiveCamera.cs
- SoapParser.cs
- ImageListUtils.cs
- WithParamAction.cs
- DiscriminatorMap.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- DigestTraceRecordHelper.cs
- TableCellAutomationPeer.cs
- MultiAsyncResult.cs
- SQLMoneyStorage.cs
- BitmapData.cs
- EventMappingSettings.cs
- ListDataHelper.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- oledbmetadatacollectionnames.cs
- ColumnMapProcessor.cs