Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Xml / System / Xml / schema / ValidationEventArgs.cs / 1 / 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
- ActivatableWorkflowsQueryResult.cs
- TraceUtility.cs
- SoapFormatExtensions.cs
- ImageFormatConverter.cs
- RijndaelManaged.cs
- WebPartAuthorizationEventArgs.cs
- ItemType.cs
- DecimalConstantAttribute.cs
- XmlArrayItemAttribute.cs
- GeneralTransform2DTo3D.cs
- BackgroundFormatInfo.cs
- Compensate.cs
- DataObjectEventArgs.cs
- IItemProperties.cs
- XMLSyntaxException.cs
- WindowHelperService.cs
- XsdDataContractImporter.cs
- _NestedSingleAsyncResult.cs
- MultiPageTextView.cs
- StrokeCollectionDefaultValueFactory.cs
- IISMapPath.cs
- RowType.cs
- AdjustableArrowCap.cs
- XmlWrappingWriter.cs
- InheritedPropertyChangedEventArgs.cs
- InvalidPropValue.cs
- ForceCopyBuildProvider.cs
- FixedSOMGroup.cs
- RolePrincipal.cs
- RijndaelManaged.cs
- ErrorProvider.cs
- ImageFormatConverter.cs
- ObservableCollection.cs
- Debug.cs
- StorageComplexTypeMapping.cs
- DbModificationCommandTree.cs
- ToolStripContainerDesigner.cs
- ImageAnimator.cs
- BrowserDefinition.cs
- _IPv4Address.cs
- IntSecurity.cs
- EntityObject.cs
- QuaternionRotation3D.cs
- ScrollChangedEventArgs.cs
- ListViewGroupItemCollection.cs
- ContextMenu.cs
- Animatable.cs
- dbenumerator.cs
- PrintPreviewDialog.cs
- HtmlTernaryTree.cs
- Run.cs
- AttributedMetaModel.cs
- QueryPageSettingsEventArgs.cs
- __TransparentProxy.cs
- ApplicationSecurityInfo.cs
- EncoderParameter.cs
- DataGridViewLinkCell.cs
- FormsAuthenticationConfiguration.cs
- Registration.cs
- ToolStripItemRenderEventArgs.cs
- XmlValidatingReaderImpl.cs
- VirtualDirectoryMapping.cs
- parserscommon.cs
- Internal.cs
- DataProtection.cs
- HtmlElementEventArgs.cs
- SQLDateTimeStorage.cs
- SqlDuplicator.cs
- RecordsAffectedEventArgs.cs
- XmlSchemaComplexContent.cs
- ConfigurationSettings.cs
- EdmItemError.cs
- TableLayoutStyleCollection.cs
- IChannel.cs
- RegexGroup.cs
- COM2IDispatchConverter.cs
- DatagridviewDisplayedBandsData.cs
- SmiMetaDataProperty.cs
- DrawingGroupDrawingContext.cs
- ObjectDataSourceStatusEventArgs.cs
- GlyphCollection.cs
- SynchronizedKeyedCollection.cs
- EventDescriptorCollection.cs
- Int32RectValueSerializer.cs
- GridViewUpdatedEventArgs.cs
- BrowserInteropHelper.cs
- ToolTipService.cs
- BufferModeSettings.cs
- Expander.cs
- PinnedBufferMemoryStream.cs
- TaskbarItemInfo.cs
- StatusBarPanel.cs
- OptimizerPatterns.cs
- _FixedSizeReader.cs
- XmlDataSource.cs
- PeerNameRegistration.cs
- SiteMapProvider.cs
- GridViewRowCollection.cs
- SecurityUtils.cs
- DbCommandTree.cs