Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / HtmlElementErrorEventArgs.cs / 1 / HtmlElementErrorEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.ComponentModel; namespace System.Windows.Forms { ////// /// public sealed class HtmlElementErrorEventArgs : EventArgs { private string description; private string urlString; private Uri url; private int lineNumber; private bool handled; internal HtmlElementErrorEventArgs(string description, string urlString, int lineNumber) { this.description = description; this.urlString = urlString; this.lineNumber = lineNumber; } ///EventArgs for onerror event of HtmlElement ////// /// public string Description { get { return description; } } ///Description of error ////// /// public bool Handled { get { return handled; } set { handled = value; } } ////// Gets or sets a value indicating whether the ////// event was handled. /// /// /// public int LineNumber { get { return lineNumber; } } ///Line number where error occurred ////// /// public Uri Url { get { if (url == null) { url = new Uri(urlString); } return url; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Url where error occurred ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.ComponentModel; namespace System.Windows.Forms { ////// /// public sealed class HtmlElementErrorEventArgs : EventArgs { private string description; private string urlString; private Uri url; private int lineNumber; private bool handled; internal HtmlElementErrorEventArgs(string description, string urlString, int lineNumber) { this.description = description; this.urlString = urlString; this.lineNumber = lineNumber; } ///EventArgs for onerror event of HtmlElement ////// /// public string Description { get { return description; } } ///Description of error ////// /// public bool Handled { get { return handled; } set { handled = value; } } ////// Gets or sets a value indicating whether the ////// event was handled. /// /// /// public int LineNumber { get { return lineNumber; } } ///Line number where error occurred ////// /// public Uri Url { get { if (url == null) { url = new Uri(urlString); } return url; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Url where error occurred ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ListViewItem.cs
- NodeFunctions.cs
- ZoomComboBox.cs
- RadioButtonList.cs
- SQLGuidStorage.cs
- StringResourceManager.cs
- EventWaitHandleSecurity.cs
- _NTAuthentication.cs
- DateTimeUtil.cs
- CorrelationService.cs
- TimeIntervalCollection.cs
- DictionaryCustomTypeDescriptor.cs
- StringKeyFrameCollection.cs
- XmlAttributeAttribute.cs
- TextHidden.cs
- GlyphRun.cs
- TraceAsyncResult.cs
- EllipseGeometry.cs
- CultureInfoConverter.cs
- autovalidator.cs
- EventSinkActivityDesigner.cs
- CustomWebEventKey.cs
- InOutArgumentConverter.cs
- ExtensionDataObject.cs
- CodeSnippetStatement.cs
- XpsManager.cs
- NegotiateStream.cs
- sitestring.cs
- CryptoConfig.cs
- ConnectionPointCookie.cs
- MailDefinitionBodyFileNameEditor.cs
- FigureParagraph.cs
- diagnosticsswitches.cs
- dataSvcMapFileLoader.cs
- Listener.cs
- EnumValAlphaComparer.cs
- BufferedReadStream.cs
- PointAnimationUsingPath.cs
- MatrixValueSerializer.cs
- DbConnectionPoolIdentity.cs
- Timer.cs
- FormatControl.cs
- AssertFilter.cs
- KeyTime.cs
- ComponentGuaranteesAttribute.cs
- graph.cs
- SafeNativeMemoryHandle.cs
- HttpConfigurationSystem.cs
- LinkedResource.cs
- streamingZipPartStream.cs
- PropertyFilterAttribute.cs
- CommandSet.cs
- CapabilitiesState.cs
- ProgressBar.cs
- ChtmlImageAdapter.cs
- SystemException.cs
- DragDropManager.cs
- ObjectMaterializedEventArgs.cs
- Utils.cs
- TextBreakpoint.cs
- RayHitTestParameters.cs
- CatalogPart.cs
- ComplusEndpointConfigContainer.cs
- linebase.cs
- CapabilitiesSection.cs
- EventListener.cs
- AssociationTypeEmitter.cs
- CodeBlockBuilder.cs
- DataSysAttribute.cs
- PlanCompilerUtil.cs
- UnsafeNativeMethods.cs
- CryptoConfig.cs
- XmlNodeWriter.cs
- DataGridHeaderBorder.cs
- ValueQuery.cs
- CfgArc.cs
- EnumDataContract.cs
- ActivityBuilderHelper.cs
- QilReplaceVisitor.cs
- TransportSecurityBindingElement.cs
- MenuItemAutomationPeer.cs
- Comparer.cs
- SoapSchemaMember.cs
- SuspendDesigner.cs
- CompilerScope.Storage.cs
- XmlQueryTypeFactory.cs
- TreeWalker.cs
- ZoneMembershipCondition.cs
- OrderToken.cs
- ServerValidateEventArgs.cs
- TextSchema.cs
- WinCategoryAttribute.cs
- SortedSetDebugView.cs
- SessionEndingCancelEventArgs.cs
- ReadOnlyTernaryTree.cs
- DataGridViewCell.cs
- Exception.cs
- LinearKeyFrames.cs
- XmlChildNodes.cs
- XmlCDATASection.cs