Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SchemaTableColumn.cs
- SessionSwitchEventArgs.cs
- TemplatedWizardStep.cs
- PriorityBindingExpression.cs
- CancellationHandlerDesigner.cs
- FixedSOMTable.cs
- TypeKeyValue.cs
- ActivationServices.cs
- SecurityPolicySection.cs
- XmlDocument.cs
- ColumnWidthChangingEvent.cs
- ThreadExceptionEvent.cs
- DbFunctionCommandTree.cs
- JournalEntryListConverter.cs
- ConfigurationFileMap.cs
- StdValidatorsAndConverters.cs
- WebPartConnectionsCancelVerb.cs
- DataSourceHelper.cs
- BulletedList.cs
- ProcessHostServerConfig.cs
- ListCollectionView.cs
- ComponentSerializationService.cs
- ContractNamespaceAttribute.cs
- FilterFactory.cs
- TextModifierScope.cs
- TitleStyle.cs
- ObjectListComponentEditor.cs
- DefaultHttpHandler.cs
- PeerTransportListenAddressConverter.cs
- TimeoutValidationAttribute.cs
- ProfileSettings.cs
- SqlSupersetValidator.cs
- CodeExporter.cs
- ChangePassword.cs
- SystemColors.cs
- PtsContext.cs
- RawStylusActions.cs
- IndexedEnumerable.cs
- Calendar.cs
- X509Extension.cs
- StrokeCollection2.cs
- ProfileProvider.cs
- QueryOperationResponseOfT.cs
- ConstantProjectedSlot.cs
- ItemAutomationPeer.cs
- _ShellExpression.cs
- TcpHostedTransportConfiguration.cs
- UIPropertyMetadata.cs
- ControlIdConverter.cs
- XmlSchemaChoice.cs
- SqlCacheDependency.cs
- SwitchLevelAttribute.cs
- APCustomTypeDescriptor.cs
- ExpressionNode.cs
- ConfigurationStrings.cs
- DrawingContext.cs
- Module.cs
- XmlSchemaImporter.cs
- SafeNativeMethods.cs
- DbConnectionStringBuilder.cs
- ListViewEditEventArgs.cs
- XmlSchemaComplexContentRestriction.cs
- NamespaceInfo.cs
- Encoding.cs
- ThemeableAttribute.cs
- DataGridViewAddColumnDialog.cs
- Encoding.cs
- File.cs
- HScrollBar.cs
- ComplexTypeEmitter.cs
- SafeHandles.cs
- HtmlButton.cs
- EntityRecordInfo.cs
- GestureRecognizer.cs
- ActivityCompletionCallbackWrapper.cs
- RegistryExceptionHelper.cs
- designeractionlistschangedeventargs.cs
- DecimalFormatter.cs
- XmlAnyElementAttribute.cs
- ISCIIEncoding.cs
- ProfileSettingsCollection.cs
- ResourceKey.cs
- CanonicalFontFamilyReference.cs
- EntityDataSourceSelectingEventArgs.cs
- LinkLabel.cs
- Visual3D.cs
- RepeaterCommandEventArgs.cs
- ExecutorLocksHeldException.cs
- BufferedReadStream.cs
- FileClassifier.cs
- RelationshipEntry.cs
- keycontainerpermission.cs
- oledbmetadatacolumnnames.cs
- PackageRelationshipCollection.cs
- InfiniteIntConverter.cs
- Connector.cs
- Util.cs
- EncoderExceptionFallback.cs
- Part.cs
- PrinterSettings.cs