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
- XmlDataDocument.cs
- TcpAppDomainProtocolHandler.cs
- RelatedCurrencyManager.cs
- Vector3DCollection.cs
- PtsHost.cs
- HttpCapabilitiesBase.cs
- QuaternionAnimationBase.cs
- PartialList.cs
- RadioButtonRenderer.cs
- RegularExpressionValidator.cs
- FormsAuthenticationUser.cs
- ContextMenu.cs
- Registry.cs
- Int32Storage.cs
- XmlQueryContext.cs
- OpenFileDialog.cs
- DetailsViewPageEventArgs.cs
- sqlnorm.cs
- WebResourceAttribute.cs
- DesignerDataTableBase.cs
- XPathParser.cs
- VisualCollection.cs
- SqlCacheDependency.cs
- DictionaryMarkupSerializer.cs
- MemoryFailPoint.cs
- ContentPathSegment.cs
- DesignOnlyAttribute.cs
- fixedPageContentExtractor.cs
- ScrollItemProviderWrapper.cs
- CodePageUtils.cs
- TextTrailingWordEllipsis.cs
- HtmlButton.cs
- SiteMapPath.cs
- ExpressionBinding.cs
- Deflater.cs
- SpellerInterop.cs
- PageFunction.cs
- Expr.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs
- DbParameterCollectionHelper.cs
- X509Certificate.cs
- CssClassPropertyAttribute.cs
- FileUtil.cs
- VerticalAlignConverter.cs
- SchemaAttDef.cs
- DataSourceIDConverter.cs
- ApplicationBuildProvider.cs
- ProgressBar.cs
- OleDbConnectionInternal.cs
- FastPropertyAccessor.cs
- COAUTHIDENTITY.cs
- AssemblyCache.cs
- Link.cs
- XmlSchemaExporter.cs
- RectAnimationClockResource.cs
- TrackingWorkflowEventArgs.cs
- cryptoapiTransform.cs
- HttpResponseHeader.cs
- XNameTypeConverter.cs
- ServiceDiscoveryElement.cs
- TextBreakpoint.cs
- XhtmlBasicObjectListAdapter.cs
- Int32RectConverter.cs
- SecurityRuntime.cs
- EastAsianLunisolarCalendar.cs
- PolyLineSegment.cs
- XmlSchemaDocumentation.cs
- ToolStripSplitButton.cs
- ContainerVisual.cs
- ToolStripCollectionEditor.cs
- smtpconnection.cs
- FileBasedResourceGroveler.cs
- RecognizeCompletedEventArgs.cs
- AutomationElementCollection.cs
- PackWebResponse.cs
- CodeTypeMemberCollection.cs
- MetadataExporter.cs
- CaseInsensitiveOrdinalStringComparer.cs
- _NtlmClient.cs
- StorageMappingItemCollection.cs
- VirtualizedItemProviderWrapper.cs
- XmlNodeList.cs
- UIElementParagraph.cs
- AtomServiceDocumentSerializer.cs
- QualifierSet.cs
- WebSysDisplayNameAttribute.cs
- DictionaryGlobals.cs
- ProxyHelper.cs
- ExecutionScope.cs
- CipherData.cs
- PasswordPropertyTextAttribute.cs
- HttpModuleAction.cs
- DbConnectionPoolOptions.cs
- Wizard.cs
- JpegBitmapDecoder.cs
- DataColumnPropertyDescriptor.cs
- FontUnitConverter.cs
- XmlSerializationReader.cs
- Int32Converter.cs
- SingleQueryOperator.cs