Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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. // Copyright (c) Microsoft Corporation. All rights reserved.Url where error occurred ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebBrowserNavigatingEventHandler.cs
- JsonSerializer.cs
- AssociatedControlConverter.cs
- Variable.cs
- SubMenuStyleCollection.cs
- HtmlLink.cs
- UniformGrid.cs
- TableLayoutPanel.cs
- WebControlAdapter.cs
- RemotingHelper.cs
- PauseStoryboard.cs
- TransformationRules.cs
- GenericUriParser.cs
- JavaScriptString.cs
- Publisher.cs
- DoubleUtil.cs
- AssociativeAggregationOperator.cs
- InfoCardProofToken.cs
- DesignerActionPropertyItem.cs
- XmlSiteMapProvider.cs
- DiffuseMaterial.cs
- Deflater.cs
- CodePageEncoding.cs
- sqlinternaltransaction.cs
- VarRemapper.cs
- FormViewRow.cs
- Lease.cs
- StringCollectionMarkupSerializer.cs
- ScaleTransform3D.cs
- ConfigXmlElement.cs
- SecurityContext.cs
- TextFormatterContext.cs
- ReaderContextStackData.cs
- ParallelTimeline.cs
- PackageStore.cs
- BindingBase.cs
- ProxyHwnd.cs
- XmlnsDefinitionAttribute.cs
- CachingHintValidation.cs
- OdbcConnection.cs
- ConditionCollection.cs
- UndoUnit.cs
- MatrixAnimationUsingPath.cs
- WS2007FederationHttpBindingElement.cs
- Rect.cs
- SqlAggregateChecker.cs
- Focus.cs
- ReadingWritingEntityEventArgs.cs
- SEHException.cs
- BlurBitmapEffect.cs
- XmlCharacterData.cs
- XmlReflectionMember.cs
- CngKey.cs
- ReflectionHelper.cs
- ControlValuePropertyAttribute.cs
- basenumberconverter.cs
- XmlNamespaceMapping.cs
- ProjectionPathSegment.cs
- PropertyGrid.cs
- SafeRightsManagementPubHandle.cs
- Path.cs
- SoapSchemaMember.cs
- TemplatedWizardStep.cs
- ElementAction.cs
- ComponentConverter.cs
- ConfigurationSectionGroup.cs
- SoapAttributes.cs
- InternalsVisibleToAttribute.cs
- FreeFormDragDropManager.cs
- X509ClientCertificateAuthenticationElement.cs
- FontStyles.cs
- ListMarkerLine.cs
- DictionaryEntry.cs
- ObjectParameter.cs
- LayoutEditorPart.cs
- TraceHandlerErrorFormatter.cs
- LocalizableAttribute.cs
- Baml2006ReaderContext.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ContextMenuAutomationPeer.cs
- XmlConvert.cs
- SqlError.cs
- ExtenderControl.cs
- LocalIdCollection.cs
- SoapParser.cs
- XmlAnyAttributeAttribute.cs
- EndpointNameMessageFilter.cs
- BufferBuilder.cs
- ConnectionManagementElement.cs
- CustomLineCap.cs
- IndexerNameAttribute.cs
- PathStreamGeometryContext.cs
- ZipIORawDataFileBlock.cs
- AssemblyContextControlItem.cs
- NextPreviousPagerField.cs
- Int64AnimationBase.cs
- ComboBoxRenderer.cs
- PropertyConverter.cs
- HatchBrush.cs
- PassportAuthenticationModule.cs