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
- FigureParaClient.cs
- BufferedReadStream.cs
- GridViewDeleteEventArgs.cs
- TransactionManager.cs
- QuestionEventArgs.cs
- MSHTMLHostUtil.cs
- ParameterBuilder.cs
- PointCollectionConverter.cs
- _TimerThread.cs
- IndentTextWriter.cs
- WindowsClientCredential.cs
- HttpGetProtocolImporter.cs
- ShapingEngine.cs
- SafeLibraryHandle.cs
- XmlDataSourceNodeDescriptor.cs
- Int16Storage.cs
- ControlBindingsCollection.cs
- SqlTransaction.cs
- IndexerNameAttribute.cs
- ConfigXmlSignificantWhitespace.cs
- HyperLinkDesigner.cs
- DataRelation.cs
- PassportAuthenticationEventArgs.cs
- GridSplitter.cs
- TargetInvocationException.cs
- SetterBase.cs
- QuadTree.cs
- PageContentAsyncResult.cs
- FileSystemWatcher.cs
- HybridObjectCache.cs
- ControlTemplate.cs
- ListViewSelectEventArgs.cs
- TimeSpanStorage.cs
- DataSourceSelectArguments.cs
- SspiNegotiationTokenProvider.cs
- JumpTask.cs
- OperationAbortedException.cs
- TCPClient.cs
- RectAnimation.cs
- RealProxy.cs
- DocumentReference.cs
- EntityStoreSchemaFilterEntry.cs
- wmiprovider.cs
- PrivilegedConfigurationManager.cs
- HtmlTableRow.cs
- ToolbarAUtomationPeer.cs
- AppDomain.cs
- Literal.cs
- AuthenticateEventArgs.cs
- XmlBinaryWriter.cs
- SQLByteStorage.cs
- IPipelineRuntime.cs
- BaseUriHelper.cs
- SqlCacheDependencyDatabaseCollection.cs
- Help.cs
- EditorAttribute.cs
- XPathSelectionIterator.cs
- BoundPropertyEntry.cs
- FrameAutomationPeer.cs
- CellConstantDomain.cs
- CodeDirectionExpression.cs
- DbConnectionInternal.cs
- VisualProxy.cs
- WindowsFormsLinkLabel.cs
- XmlnsCompatibleWithAttribute.cs
- ExtensionFile.cs
- DbConnectionHelper.cs
- XmlEncoding.cs
- SliderAutomationPeer.cs
- GenericEnumConverter.cs
- TablePatternIdentifiers.cs
- ClientUIRequest.cs
- FrugalMap.cs
- WebPartEditorCancelVerb.cs
- CookieParameter.cs
- SessionStateSection.cs
- DecimalConverter.cs
- PeerTransportCredentialType.cs
- Shape.cs
- FloatUtil.cs
- GroupLabel.cs
- DecoderBestFitFallback.cs
- AlternationConverter.cs
- CompatibleIComparer.cs
- SqlInternalConnection.cs
- ProjectedWrapper.cs
- EmptyQuery.cs
- InstanceData.cs
- XmlQueryTypeFactory.cs
- WebResourceAttribute.cs
- LingerOption.cs
- ProvidersHelper.cs
- NotFiniteNumberException.cs
- QueryCacheManager.cs
- XmlLanguage.cs
- MediaCommands.cs
- QueueProcessor.cs
- PathFigure.cs
- OdbcConnectionHandle.cs
- CompositeCollectionView.cs