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
- ApplicationSettingsBase.cs
- PagedDataSource.cs
- NodeInfo.cs
- TextSearch.cs
- IApplicationTrustManager.cs
- HandledMouseEvent.cs
- FrameSecurityDescriptor.cs
- DashStyle.cs
- DateTimeParse.cs
- XamlParser.cs
- XmlCountingReader.cs
- IntegrationExceptionEventArgs.cs
- NamedPermissionSet.cs
- DataControlImageButton.cs
- WmlPhoneCallAdapter.cs
- ScriptResourceInfo.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- DataGridItemCollection.cs
- TemplatingOptionsDialog.cs
- DataSpaceManager.cs
- ScrollViewer.cs
- TypeLoadException.cs
- XmlSerializableWriter.cs
- EmulateRecognizeCompletedEventArgs.cs
- AutoFocusStyle.xaml.cs
- DataTableNewRowEvent.cs
- ListenUriMode.cs
- HtmlFormAdapter.cs
- LineInfo.cs
- EventProviderTraceListener.cs
- ResourceExpressionBuilder.cs
- typedescriptorpermissionattribute.cs
- VarRemapper.cs
- PerfCounterSection.cs
- FontFamily.cs
- SiteMapHierarchicalDataSourceView.cs
- HtmlMeta.cs
- WebPartConnectionsConfigureVerb.cs
- SamlAuthorityBinding.cs
- TemplateNodeContextMenu.cs
- XamlDebuggerXmlReader.cs
- WSSecureConversation.cs
- SettingsPropertyValueCollection.cs
- SecurityResources.cs
- ToolStripDesignerAvailabilityAttribute.cs
- SystemException.cs
- DefaultValueConverter.cs
- InProcStateClientManager.cs
- IndexOutOfRangeException.cs
- Compilation.cs
- ButtonAutomationPeer.cs
- DebugTraceHelper.cs
- ClosableStream.cs
- DropDownList.cs
- PropertyValue.cs
- ArgumentNullException.cs
- SystemIPAddressInformation.cs
- SafeArchiveContext.cs
- UserControlParser.cs
- ErrorRuntimeConfig.cs
- InheritanceRules.cs
- CompoundFileIOPermission.cs
- CopyOnWriteList.cs
- X509Utils.cs
- EncoderFallback.cs
- FixedSOMElement.cs
- EDesignUtil.cs
- UIElement.cs
- ReferenceEqualityComparer.cs
- Deserializer.cs
- Attributes.cs
- DefaultCommandConverter.cs
- StaticFileHandler.cs
- DetailsViewUpdateEventArgs.cs
- BinaryWriter.cs
- VersionedStream.cs
- TdsParserHelperClasses.cs
- EditorPart.cs
- BasicExpressionVisitor.cs
- SmtpNtlmAuthenticationModule.cs
- FrameworkReadOnlyPropertyMetadata.cs
- Margins.cs
- UIElementParaClient.cs
- TransactionTable.cs
- RightsManagementPermission.cs
- _OSSOCK.cs
- SqlDataSourceCache.cs
- AsyncContentLoadedEventArgs.cs
- FigureParaClient.cs
- ResXFileRef.cs
- OLEDB_Util.cs
- XPathPatternParser.cs
- MenuAutoFormat.cs
- SafeFileHandle.cs
- ValueQuery.cs
- HtmlTextArea.cs
- FormatSettings.cs
- SyndicationElementExtensionCollection.cs
- DoWhileDesigner.xaml.cs
- SimpleType.cs