Code:
/ FX-1434 / FX-1434 / 1.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
- UrlPropertyAttribute.cs
- ManipulationStartingEventArgs.cs
- EventArgs.cs
- QilNode.cs
- RtfToken.cs
- RecognizedPhrase.cs
- FrameworkElementFactory.cs
- PerfCounters.cs
- Bits.cs
- SymLanguageType.cs
- Rect3DValueSerializer.cs
- TrackingRecord.cs
- BinaryUtilClasses.cs
- CodeAttributeArgumentCollection.cs
- HttpCookiesSection.cs
- PageClientProxyGenerator.cs
- elementinformation.cs
- MobileControlBuilder.cs
- TraceHwndHost.cs
- PageHandlerFactory.cs
- MimeObjectFactory.cs
- LocalizabilityAttribute.cs
- ParsedAttributeCollection.cs
- CheckBoxAutomationPeer.cs
- ScriptResourceHandler.cs
- MetadataItem.cs
- ComboBoxDesigner.cs
- LambdaCompiler.cs
- CompModSwitches.cs
- Type.cs
- Condition.cs
- ThreadAbortException.cs
- ObjectTypeMapping.cs
- SafeLibraryHandle.cs
- XmlCountingReader.cs
- WindowsMenu.cs
- ValueType.cs
- RNGCryptoServiceProvider.cs
- SelectionHighlightInfo.cs
- PropertyMetadata.cs
- PageSettings.cs
- EmptyEnumerator.cs
- WsatAdminException.cs
- XmlSchemaGroupRef.cs
- FragmentQueryProcessor.cs
- BinarySerializer.cs
- BuildProvidersCompiler.cs
- UidPropertyAttribute.cs
- DefaultValueAttribute.cs
- BatchStream.cs
- Script.cs
- TreeViewBindingsEditor.cs
- TypeElement.cs
- LayoutEditorPart.cs
- SqlUDTStorage.cs
- Cell.cs
- WmpBitmapDecoder.cs
- BitmapSizeOptions.cs
- _NetRes.cs
- DBCommandBuilder.cs
- SoundPlayer.cs
- DataReceivedEventArgs.cs
- TextEditorThreadLocalStore.cs
- SqlDependencyListener.cs
- ComponentResourceKey.cs
- SemaphoreFullException.cs
- ToolStripPanelRow.cs
- SoapIgnoreAttribute.cs
- SchemaImporter.cs
- grammarelement.cs
- XslException.cs
- PeerChannelFactory.cs
- LinkArea.cs
- TraversalRequest.cs
- XmlNamespaceMappingCollection.cs
- Point3DKeyFrameCollection.cs
- XmlSchemaAttributeGroupRef.cs
- QueryReaderSettings.cs
- LeafCellTreeNode.cs
- SafeMILHandle.cs
- FullTextState.cs
- ECDsa.cs
- WpfXamlType.cs
- DataGridCellClipboardEventArgs.cs
- MethodBody.cs
- AccessDataSourceDesigner.cs
- HttpListenerRequest.cs
- _HeaderInfo.cs
- RegexNode.cs
- MultiByteCodec.cs
- ExtensionCollection.cs
- ComponentRenameEvent.cs
- Metadata.cs
- NavigationProperty.cs
- TokenizerHelper.cs
- SectionInput.cs
- SafeHandle.cs
- SoapConverter.cs
- ElementsClipboardData.cs
- HtmlToClrEventProxy.cs