Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- BinaryUtilClasses.cs
- Transform.cs
- CallbackValidatorAttribute.cs
- RawContentTypeMapper.cs
- TemplateBamlTreeBuilder.cs
- TextProperties.cs
- Baml6ConstructorInfo.cs
- Int64.cs
- CodePageUtils.cs
- DoubleUtil.cs
- XmlNodeComparer.cs
- TailCallAnalyzer.cs
- DataGridViewImageCell.cs
- IDataContractSurrogate.cs
- DataRelationCollection.cs
- Win32Exception.cs
- ContainerUIElement3D.cs
- ControlUtil.cs
- TraceData.cs
- AutomationElementCollection.cs
- Lasso.cs
- DataGridViewRowEventArgs.cs
- ImportDesigner.xaml.cs
- Parameter.cs
- PropertyInfoSet.cs
- CodeDomSerializerException.cs
- GridViewRowCollection.cs
- RadioButtonPopupAdapter.cs
- XPathParser.cs
- HttpCapabilitiesEvaluator.cs
- StylusPointPropertyInfo.cs
- MetadataCache.cs
- TextCharacters.cs
- DecodeHelper.cs
- ConfigXmlElement.cs
- ScriptReference.cs
- SuppressMergeCheckAttribute.cs
- AnnotationHelper.cs
- NumberSubstitution.cs
- LoginStatusDesigner.cs
- ListCommandEventArgs.cs
- Font.cs
- StrokeNodeOperations.cs
- ContentPlaceHolderDesigner.cs
- SimpleType.cs
- SchemaTableOptionalColumn.cs
- XmlnsPrefixAttribute.cs
- DispatcherHookEventArgs.cs
- HttpCookieCollection.cs
- Page.cs
- XhtmlBasicFormAdapter.cs
- PropertyConverter.cs
- GroupQuery.cs
- TraceUtils.cs
- AtomicFile.cs
- LocalBuilder.cs
- MetaForeignKeyColumn.cs
- HybridDictionary.cs
- DeclaredTypeValidator.cs
- EntityDataSource.cs
- ParallelEnumerableWrapper.cs
- CodeObjectCreateExpression.cs
- ToolboxItemFilterAttribute.cs
- FileInfo.cs
- DurationConverter.cs
- FillBehavior.cs
- DbConnectionPoolGroupProviderInfo.cs
- ContainerVisual.cs
- Collection.cs
- XmlIgnoreAttribute.cs
- WinEventWrap.cs
- CharUnicodeInfo.cs
- SchemaCompiler.cs
- CodeThrowExceptionStatement.cs
- AffineTransform3D.cs
- NominalTypeEliminator.cs
- RelationshipConverter.cs
- CompilerParameters.cs
- IFormattable.cs
- DefaultClaimSet.cs
- SqlFormatter.cs
- ListBox.cs
- XmlEnumAttribute.cs
- MasterPage.cs
- QueryableDataSource.cs
- ResourceContainerWrapper.cs
- ThumbButtonInfo.cs
- documentsequencetextview.cs
- Encoder.cs
- MetaColumn.cs
- PropertyExpression.cs
- SerialErrors.cs
- RNGCryptoServiceProvider.cs
- DelegatingMessage.cs
- ResourcePermissionBase.cs
- XmlSignatureProperties.cs
- ParentUndoUnit.cs
- WCFBuildProvider.cs
- HtmlEncodedRawTextWriter.cs
- Trace.cs