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
- SerializationAttributes.cs
- HtmlElement.cs
- CallbackException.cs
- ServiceBusyException.cs
- EdmError.cs
- EventListener.cs
- OdbcDataAdapter.cs
- TextBoxAutoCompleteSourceConverter.cs
- RightsManagementEncryptionTransform.cs
- PrintDialogException.cs
- Console.cs
- MetaModel.cs
- DocobjHost.cs
- CompilerScope.cs
- TrustSection.cs
- ConsumerConnectionPointCollection.cs
- InvalidOperationException.cs
- ScalarOps.cs
- __Filters.cs
- InProcStateClientManager.cs
- DSASignatureFormatter.cs
- ConsumerConnectionPointCollection.cs
- SqlClientWrapperSmiStream.cs
- PackUriHelper.cs
- AlternateViewCollection.cs
- StrokeNodeOperations2.cs
- QueryAsyncResult.cs
- ViewBox.cs
- XmlSchemaDocumentation.cs
- ProxyGenerationError.cs
- Parallel.cs
- XmlDocumentSerializer.cs
- ParentUndoUnit.cs
- EdmProperty.cs
- Style.cs
- ItemAutomationPeer.cs
- XmlSchemaComplexContentExtension.cs
- EnumValAlphaComparer.cs
- BuildManagerHost.cs
- CodeChecksumPragma.cs
- BitVec.cs
- AsyncPostBackErrorEventArgs.cs
- WebBrowsableAttribute.cs
- odbcmetadatacolumnnames.cs
- TextElementCollectionHelper.cs
- NavigationEventArgs.cs
- COSERVERINFO.cs
- selecteditemcollection.cs
- RawTextInputReport.cs
- RemotingSurrogateSelector.cs
- ObjectManager.cs
- FileClassifier.cs
- WsatServiceAddress.cs
- FastEncoder.cs
- RoleService.cs
- MiniLockedBorderGlyph.cs
- LineServices.cs
- DuplicateWaitObjectException.cs
- PersistenceTypeAttribute.cs
- ValidationSummaryDesigner.cs
- XmlBufferReader.cs
- DataGridViewRowHeaderCell.cs
- SoundPlayer.cs
- AuthenticationServiceManager.cs
- WizardSideBarListControlItem.cs
- Listbox.cs
- SQLChars.cs
- DataServiceStreamResponse.cs
- AdornerHitTestResult.cs
- FontWeightConverter.cs
- FactoryGenerator.cs
- EntityConnection.cs
- Material.cs
- PlanCompilerUtil.cs
- MemoryFailPoint.cs
- CookieProtection.cs
- FixedPageAutomationPeer.cs
- UrlSyndicationContent.cs
- EditorZoneAutoFormat.cs
- XpsSerializationException.cs
- EmptyEnumerable.cs
- X509Extension.cs
- OciEnlistContext.cs
- Container.cs
- EqualityComparer.cs
- XmlComment.cs
- ResXResourceWriter.cs
- ModuleElement.cs
- TypeConverterAttribute.cs
- panel.cs
- Encoder.cs
- TableLayoutColumnStyleCollection.cs
- CodeIdentifier.cs
- Aggregates.cs
- TextServicesContext.cs
- SqlConnectionManager.cs
- TextTreeExtractElementUndoUnit.cs
- ConfigsHelper.cs
- OrderedDictionaryStateHelper.cs
- SafeSystemMetrics.cs