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
- FormDesigner.cs
- CultureSpecificStringDictionary.cs
- PrincipalPermission.cs
- RegularExpressionValidator.cs
- _DisconnectOverlappedAsyncResult.cs
- UserPersonalizationStateInfo.cs
- OleDbStruct.cs
- Parser.cs
- ReliableSession.cs
- BufferModeSettings.cs
- EventHandlersStore.cs
- Update.cs
- DataProtection.cs
- TypeLibConverter.cs
- ReverseInheritProperty.cs
- StrokeCollectionConverter.cs
- DeferredBinaryDeserializerExtension.cs
- StandardRuntimeEnumValidator.cs
- FrugalMap.cs
- CodeDomConfigurationHandler.cs
- Boolean.cs
- DecoderReplacementFallback.cs
- SqlIdentifier.cs
- SqlMethodTransformer.cs
- COM2PropertyPageUITypeConverter.cs
- DescendantQuery.cs
- EntityCommandExecutionException.cs
- UnsafeNativeMethodsPenimc.cs
- MachineKeyConverter.cs
- DataGridViewCellFormattingEventArgs.cs
- SettingsProperty.cs
- ForeignKeyConstraint.cs
- MessageDecoder.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- MenuItem.cs
- Link.cs
- MD5CryptoServiceProvider.cs
- Page.cs
- UnsignedPublishLicense.cs
- PageCatalogPart.cs
- WebPartZoneBaseDesigner.cs
- ClientFormsIdentity.cs
- Validator.cs
- Rotation3D.cs
- _Win32.cs
- EllipticalNodeOperations.cs
- DelegateSerializationHolder.cs
- EdmValidator.cs
- RoutedEventValueSerializer.cs
- X509WindowsSecurityToken.cs
- Relationship.cs
- CommandEventArgs.cs
- LoginDesignerUtil.cs
- ISAPIRuntime.cs
- XhtmlStyleClass.cs
- CFStream.cs
- WindowsSolidBrush.cs
- FieldTemplateUserControl.cs
- SurrogateSelector.cs
- HitTestWithGeometryDrawingContextWalker.cs
- FontSizeConverter.cs
- DataGridViewCellLinkedList.cs
- AmbiguousMatchException.cs
- CursorConverter.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- Pkcs9Attribute.cs
- UserUseLicenseDictionaryLoader.cs
- XmlIterators.cs
- ActionMismatchAddressingException.cs
- StringDictionaryWithComparer.cs
- HtmlInputHidden.cs
- CacheForPrimitiveTypes.cs
- XmlAttributeOverrides.cs
- AudioBase.cs
- CompiledAction.cs
- InkCanvasAutomationPeer.cs
- StrokeNodeEnumerator.cs
- ZipFileInfoCollection.cs
- XamlDesignerSerializationManager.cs
- DataObjectPastingEventArgs.cs
- WorkflowElementDialog.cs
- TiffBitmapEncoder.cs
- LiteralSubsegment.cs
- ClientData.cs
- ConfigXmlElement.cs
- UpdatePanelTrigger.cs
- OpenFileDialog.cs
- base64Transforms.cs
- WebServiceBindingAttribute.cs
- ImageFormat.cs
- DesignerLoader.cs
- GZipStream.cs
- BasePropertyDescriptor.cs
- XmlEventCache.cs
- DynamicDataExtensions.cs
- OuterGlowBitmapEffect.cs
- IPCCacheManager.cs
- HttpHandlersSection.cs
- HttpCacheVaryByContentEncodings.cs
- XmlTextReaderImpl.cs