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
- EventMappingSettings.cs
- FixUp.cs
- Bold.cs
- ToolStripItem.cs
- ExclusiveCanonicalizationTransform.cs
- WbemException.cs
- JoinTreeSlot.cs
- EntityConnection.cs
- SystemGatewayIPAddressInformation.cs
- NopReturnReader.cs
- SizeValueSerializer.cs
- SessionStateSection.cs
- CompareValidator.cs
- KeyTimeConverter.cs
- AccessorTable.cs
- XPathArrayIterator.cs
- VirtualizingStackPanel.cs
- BufferedStream.cs
- GradientSpreadMethodValidation.cs
- TableCell.cs
- ServiceRouteHandler.cs
- ExtractedStateEntry.cs
- PerformanceCounterCategory.cs
- UserControlDocumentDesigner.cs
- SecurityContextSecurityToken.cs
- HttpDictionary.cs
- UnsafeNativeMethods.cs
- RuntimeEnvironment.cs
- AttributeEmitter.cs
- SimpleWebHandlerParser.cs
- GenericsInstances.cs
- BookmarkEventArgs.cs
- ComponentChangedEvent.cs
- TextEffectCollection.cs
- MapPathBasedVirtualPathProvider.cs
- FormatSettings.cs
- TreeIterators.cs
- XmlSerializationReader.cs
- SortedList.cs
- WorkflowRequestContext.cs
- WebEventCodes.cs
- XmlBaseWriter.cs
- MailHeaderInfo.cs
- EntityDataSourceReferenceGroup.cs
- FileRegion.cs
- Effect.cs
- RichTextBox.cs
- AuthStoreRoleProvider.cs
- BaseCollection.cs
- ModelTypeConverter.cs
- WebPart.cs
- BindingList.cs
- UnmanagedMemoryStreamWrapper.cs
- CheckBoxAutomationPeer.cs
- OleDbError.cs
- OracleParameter.cs
- ConfigPathUtility.cs
- ImageFormat.cs
- ImageConverter.cs
- dbenumerator.cs
- XmlnsCompatibleWithAttribute.cs
- IApplicationTrustManager.cs
- ErrorTableItemStyle.cs
- CompiledELinqQueryState.cs
- ConstNode.cs
- TransportElement.cs
- SimpleHandlerFactory.cs
- XmlSchemaAnnotated.cs
- UidManager.cs
- TcpConnectionPool.cs
- HtmlTableRow.cs
- CriticalFinalizerObject.cs
- SafeNativeMethods.cs
- InputLangChangeEvent.cs
- Executor.cs
- DictionaryItemsCollection.cs
- ConnectionPointCookie.cs
- AnimatedTypeHelpers.cs
- SimpleNameService.cs
- DataGridColumnFloatingHeader.cs
- ClientUrlResolverWrapper.cs
- X509Chain.cs
- ConnectionPointGlyph.cs
- DomNameTable.cs
- TypeElement.cs
- VirtualizedCellInfoCollection.cs
- NullReferenceException.cs
- DragDropHelper.cs
- PropertyItemInternal.cs
- PKCS1MaskGenerationMethod.cs
- NavigationWindow.cs
- RoutedEventHandlerInfo.cs
- ArraySet.cs
- DefaultHttpHandler.cs
- MultiSelectRootGridEntry.cs
- MetadataUtilsSmi.cs
- TablePattern.cs
- StubHelpers.cs
- DesignerLinkAdapter.cs
- TraceHandlerErrorFormatter.cs