Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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;}
}
///
///
/// Gets the text description corresponding to the
/// validation error.
///
public String Message {
get { return ex.Message;}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Window.cs
- LineInfo.cs
- KnownBoxes.cs
- RotateTransform.cs
- CapiNative.cs
- ACL.cs
- InternalMappingException.cs
- RequestCacheEntry.cs
- MethodExpr.cs
- DistributedTransactionPermission.cs
- ToolStripSplitStackLayout.cs
- PathTooLongException.cs
- ExpressionBindings.cs
- TrustDriver.cs
- unsafeIndexingFilterStream.cs
- Geometry.cs
- NativeObjectSecurity.cs
- OwnerDrawPropertyBag.cs
- PersonalizationProvider.cs
- NotifyParentPropertyAttribute.cs
- QuarticEase.cs
- JournalNavigationScope.cs
- Object.cs
- ScriptingAuthenticationServiceSection.cs
- IsolatedStorageFileStream.cs
- CategoryAttribute.cs
- AxisAngleRotation3D.cs
- RightsManagementInformation.cs
- VisualTreeUtils.cs
- RemoteWebConfigurationHostServer.cs
- NonSerializedAttribute.cs
- InvokeGenerator.cs
- WebBrowser.cs
- SocketException.cs
- EventProviderWriter.cs
- CachedCompositeFamily.cs
- ExpressionEditorSheet.cs
- DataPagerField.cs
- GuidelineCollection.cs
- IdentityManager.cs
- LineMetrics.cs
- Style.cs
- TabControlToolboxItem.cs
- HotSpot.cs
- Oid.cs
- NativeMethods.cs
- ReadOnlyMetadataCollection.cs
- StreamUpdate.cs
- DataObjectCopyingEventArgs.cs
- DayRenderEvent.cs
- MouseOverProperty.cs
- CommonDialog.cs
- UnescapedXmlDiagnosticData.cs
- DataFormats.cs
- ReadWriteSpinLock.cs
- SerializationHelper.cs
- BooleanToVisibilityConverter.cs
- PropagatorResult.cs
- Label.cs
- ValueConversionAttribute.cs
- NameTable.cs
- HttpCapabilitiesBase.cs
- ArgumentElement.cs
- PageSettings.cs
- WebPartRestoreVerb.cs
- HyperLink.cs
- ListItemConverter.cs
- DataControlFieldCollection.cs
- TextSelectionProcessor.cs
- IdentityElement.cs
- TextTreeRootNode.cs
- ExpressionReplacer.cs
- RemotingAttributes.cs
- UriSectionReader.cs
- Missing.cs
- EventLog.cs
- XamlToRtfWriter.cs
- TextBoxLine.cs
- ByteAnimationUsingKeyFrames.cs
- GridViewUpdateEventArgs.cs
- ConfigXmlText.cs
- OracleBinary.cs
- ObjectDataSourceDisposingEventArgs.cs
- HtmlAnchor.cs
- SystemWebExtensionsSectionGroup.cs
- ColorConverter.cs
- DataGridParentRows.cs
- SqlInfoMessageEvent.cs
- ComboBox.cs
- ClickablePoint.cs
- MenuScrollingVisibilityConverter.cs
- TextDataBindingHandler.cs
- IItemContainerGenerator.cs
- StrokeNodeEnumerator.cs
- xml.cs
- HttpContext.cs
- SmtpReplyReader.cs
- FontStyleConverter.cs
- RoleGroupCollection.cs
- FamilyCollection.cs