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
- WizardPanelChangingEventArgs.cs
- VectorValueSerializer.cs
- HttpBindingExtension.cs
- PropertyInfo.cs
- HitTestFilterBehavior.cs
- DropTarget.cs
- OpCodes.cs
- SqlDataSourceStatusEventArgs.cs
- SharedPersonalizationStateInfo.cs
- ArrayEditor.cs
- Int32Rect.cs
- WebServiceMethodData.cs
- Frame.cs
- Normalization.cs
- PrintPreviewGraphics.cs
- PersonalizationAdministration.cs
- TypeConverterHelper.cs
- InvalidProgramException.cs
- DataGridViewColumnStateChangedEventArgs.cs
- NativeMethods.cs
- CodeSpit.cs
- ReflectionTypeLoadException.cs
- PropertyTab.cs
- ValidationSummary.cs
- Hashtable.cs
- AccessDataSource.cs
- MessageAction.cs
- SvcMapFile.cs
- RegexParser.cs
- MsmqProcessProtocolHandler.cs
- XhtmlTextWriter.cs
- M3DUtil.cs
- HierarchicalDataSourceDesigner.cs
- BindingExpressionUncommonField.cs
- CryptoApi.cs
- DataGridViewColumnHeaderCell.cs
- SiteMapNodeCollection.cs
- XsdDateTime.cs
- XamlTreeBuilderBamlRecordWriter.cs
- AppSecurityManager.cs
- InOutArgumentConverter.cs
- UrlAuthorizationModule.cs
- ListBase.cs
- XmlCustomFormatter.cs
- PluralizationService.cs
- SimplePropertyEntry.cs
- WindowsTokenRoleProvider.cs
- PasswordTextNavigator.cs
- IntegerFacetDescriptionElement.cs
- RevocationPoint.cs
- FrameworkReadOnlyPropertyMetadata.cs
- XmlResolver.cs
- CodeNamespaceImport.cs
- SapiRecoContext.cs
- Misc.cs
- TypefaceMap.cs
- ToolConsole.cs
- PropertyConverter.cs
- GridView.cs
- XmlSortKey.cs
- pingexception.cs
- MessageEventSubscriptionService.cs
- ReaderWriterLock.cs
- SystemIPInterfaceStatistics.cs
- FamilyMapCollection.cs
- DataRowComparer.cs
- MediaContext.cs
- DeleteCardRequest.cs
- ISAPIApplicationHost.cs
- OleStrCAMarshaler.cs
- DataGrid.cs
- SeverityFilter.cs
- XmlConvert.cs
- Emitter.cs
- TypeContext.cs
- WebConvert.cs
- CngKeyBlobFormat.cs
- FileDataSourceCache.cs
- BooleanSwitch.cs
- ToolstripProfessionalRenderer.cs
- _AutoWebProxyScriptWrapper.cs
- KnownBoxes.cs
- InvokeMemberBinder.cs
- _AutoWebProxyScriptWrapper.cs
- IndexedEnumerable.cs
- DataBindingHandlerAttribute.cs
- MetadataUtilsSmi.cs
- SynchronizedDisposablePool.cs
- WithParamAction.cs
- RecognizedAudio.cs
- NameSpaceExtractor.cs
- CodeMemberMethod.cs
- Processor.cs
- ResourceType.cs
- NullableBoolConverter.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- MsmqAppDomainProtocolHandler.cs
- TextOnlyOutput.cs
- DataSourceXmlTextReader.cs
- OracleDataAdapter.cs