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
- RectConverter.cs
- DecimalStorage.cs
- XmlMemberMapping.cs
- RelationshipEnd.cs
- QilScopedVisitor.cs
- DataGridAddNewRow.cs
- SqlFormatter.cs
- SizeConverter.cs
- PopupEventArgs.cs
- FixedSOMTable.cs
- FormsAuthenticationEventArgs.cs
- Roles.cs
- newinstructionaction.cs
- DecimalConstantAttribute.cs
- LineGeometry.cs
- SafeRightsManagementEnvironmentHandle.cs
- SQLByteStorage.cs
- CommandLibraryHelper.cs
- RecognizerBase.cs
- Calendar.cs
- SizeChangedEventArgs.cs
- TcpClientChannel.cs
- DrawingServices.cs
- ScriptRegistrationManager.cs
- TextRangeProviderWrapper.cs
- SettingsAttributes.cs
- HtmlTextArea.cs
- ClientTargetCollection.cs
- ReflectionHelper.cs
- FileIOPermission.cs
- Trace.cs
- CallSite.cs
- MatchAttribute.cs
- SqlInternalConnection.cs
- RuntimeHelpers.cs
- RegularExpressionValidator.cs
- SiteMapPath.cs
- AdvancedBindingEditor.cs
- GenerateTemporaryTargetAssembly.cs
- EntityDataSourceValidationException.cs
- SafeNativeMethods.cs
- DPCustomTypeDescriptor.cs
- LinqDataSourceView.cs
- TraceFilter.cs
- ClrPerspective.cs
- TraceHandler.cs
- Command.cs
- QuaternionIndependentAnimationStorage.cs
- DrawingAttributeSerializer.cs
- DataGridViewColumnCollection.cs
- BitmapSourceSafeMILHandle.cs
- _NTAuthentication.cs
- CodeMethodInvokeExpression.cs
- PreviewKeyDownEventArgs.cs
- DynamicFilterExpression.cs
- GroupDescription.cs
- ClockController.cs
- FormattedText.cs
- ReadOnlyHierarchicalDataSourceView.cs
- MouseWheelEventArgs.cs
- dtdvalidator.cs
- _SSPISessionCache.cs
- ReadonlyMessageFilter.cs
- HttpListenerRequest.cs
- PerspectiveCamera.cs
- DefaultPropertyAttribute.cs
- HttpApplication.cs
- ProgressBarBrushConverter.cs
- _OSSOCK.cs
- XPathDocumentNavigator.cs
- Vector3DAnimationUsingKeyFrames.cs
- HostingEnvironment.cs
- TextBoxAutoCompleteSourceConverter.cs
- _LocalDataStore.cs
- DataSourceCacheDurationConverter.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- XmlCharacterData.cs
- ComplexTypeEmitter.cs
- ParameterModifier.cs
- OLEDB_Util.cs
- WebPartDisplayModeEventArgs.cs
- MethodRental.cs
- ChildTable.cs
- XamlStyleSerializer.cs
- ErrorHandlerModule.cs
- GeneralTransform2DTo3DTo2D.cs
- ExpressionPrinter.cs
- CodePropertyReferenceExpression.cs
- EntityRecordInfo.cs
- DataGridHeaderBorder.cs
- SecurityContext.cs
- MenuItemStyle.cs
- PtsHost.cs
- ParallelTimeline.cs
- KeyEvent.cs
- XmlUtil.cs
- ApplicationException.cs
- UiaCoreApi.cs
- _ContextAwareResult.cs
- VisualStateChangedEventArgs.cs