Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- StartUpEventArgs.cs
- SchemaImporterExtensionElementCollection.cs
- CryptoConfig.cs
- XmlSchemaChoice.cs
- BitArray.cs
- OracleConnectionString.cs
- TypefaceMap.cs
- SqlError.cs
- StandardToolWindows.cs
- Pens.cs
- QueryStringConverter.cs
- Token.cs
- Rect.cs
- GenericIdentity.cs
- BrowserCapabilitiesCodeGenerator.cs
- HttpMethodAttribute.cs
- EditorBrowsableAttribute.cs
- exports.cs
- DefaultDiscoveryServiceExtension.cs
- StructuredProperty.cs
- QueueSurrogate.cs
- TypeUnloadedException.cs
- JulianCalendar.cs
- NominalTypeEliminator.cs
- IteratorDescriptor.cs
- UnsafeNativeMethods.cs
- ADConnectionHelper.cs
- Authorization.cs
- RecipientInfo.cs
- WorkflowRuntimeService.cs
- ButtonRenderer.cs
- serverconfig.cs
- FloaterBaseParaClient.cs
- Message.cs
- filewebrequest.cs
- HandlerBase.cs
- MediaContext.cs
- MSAANativeProvider.cs
- VectorAnimationBase.cs
- CodeExporter.cs
- LabelAutomationPeer.cs
- MethodImplAttribute.cs
- DesignerDeviceConfig.cs
- OleDbReferenceCollection.cs
- ImageCreator.cs
- EditorZoneDesigner.cs
- CookieHandler.cs
- ProtocolElementCollection.cs
- DirectionalLight.cs
- LogReserveAndAppendState.cs
- SinglePageViewer.cs
- ReadOnlyDictionary.cs
- HtmlControl.cs
- ImageConverter.cs
- SoapHeaderException.cs
- RemoteWebConfigurationHostStream.cs
- ButtonFieldBase.cs
- _DigestClient.cs
- SelectorItemAutomationPeer.cs
- EditCommandColumn.cs
- InstancePersistence.cs
- FragmentQuery.cs
- Expression.cs
- RowToParametersTransformer.cs
- HierarchicalDataBoundControlAdapter.cs
- FlowDocument.cs
- EdmComplexTypeAttribute.cs
- DrawingVisual.cs
- Misc.cs
- Operand.cs
- SHA512.cs
- XPathNodeInfoAtom.cs
- PresentationAppDomainManager.cs
- SqlPersistenceProviderFactory.cs
- ToolStripActionList.cs
- PersistChildrenAttribute.cs
- OleDbConnectionFactory.cs
- DataObjectCopyingEventArgs.cs
- VirtualizedItemProviderWrapper.cs
- RegexTree.cs
- SafeNativeMethodsMilCoreApi.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ReferenceService.cs
- ActivatableWorkflowsQueryResult.cs
- SessionPageStatePersister.cs
- EventHandlingScope.cs
- EventTrigger.cs
- HtmlWindowCollection.cs
- unitconverter.cs
- MiniCustomAttributeInfo.cs
- TableLayoutPanel.cs
- KeyValuePairs.cs
- ItemTypeToolStripMenuItem.cs
- RegexEditorDialog.cs
- StringCollectionEditor.cs
- AutomationPatternInfo.cs
- DataGridCaption.cs
- SqlDataReader.cs
- XmlValueConverter.cs
- FloaterBaseParaClient.cs