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
- SafePipeHandle.cs
- QueryExecutionOption.cs
- ObjectTag.cs
- HtmlTitle.cs
- ProxyGenerationError.cs
- DashStyle.cs
- MetadataSerializer.cs
- PeerObject.cs
- SqlServices.cs
- AppSettingsReader.cs
- ArithmeticException.cs
- TextDecoration.cs
- NewItemsContextMenuStrip.cs
- DetailsViewInsertEventArgs.cs
- DataConnectionHelper.cs
- RtfToken.cs
- XPathNavigatorReader.cs
- MethodToken.cs
- SectionInformation.cs
- SignedInfo.cs
- sitestring.cs
- ServicePointManager.cs
- NativeMethodsCLR.cs
- GeneralTransform2DTo3D.cs
- TablePatternIdentifiers.cs
- EntryIndex.cs
- DataPagerCommandEventArgs.cs
- DocumentPageViewAutomationPeer.cs
- XamlInt32CollectionSerializer.cs
- WinInet.cs
- ZipIOFileItemStream.cs
- TextFormatterImp.cs
- JsonEnumDataContract.cs
- SHA1Cng.cs
- ServiceManager.cs
- BuildDependencySet.cs
- PropertyMetadata.cs
- FontStretches.cs
- TileBrush.cs
- _NetRes.cs
- ClientOptions.cs
- PageVisual.cs
- TabControlCancelEvent.cs
- ListViewTableRow.cs
- MultiPartWriter.cs
- CompositeDesignerAccessibleObject.cs
- UInt16Converter.cs
- SpecialNameAttribute.cs
- ScrollableControl.cs
- HMACSHA384.cs
- DateTimeFormatInfo.cs
- WebPartTransformerAttribute.cs
- CookieProtection.cs
- SerializerProvider.cs
- WebPartManagerInternals.cs
- WebConfigurationHost.cs
- TimeSpanMinutesConverter.cs
- RuntimeConfigLKG.cs
- PriorityRange.cs
- TextStore.cs
- DataGridViewUtilities.cs
- MenuItemStyleCollection.cs
- SocketPermission.cs
- BCLDebug.cs
- ExpressionBuilderContext.cs
- XsdDateTime.cs
- CachedPathData.cs
- CachedFontFace.cs
- Page.cs
- StylusButtonCollection.cs
- RoleProviderPrincipal.cs
- ValueTable.cs
- SupportingTokenBindingElement.cs
- CodePageUtils.cs
- QuadraticBezierSegment.cs
- CriticalFinalizerObject.cs
- ToolStripContainer.cs
- BitmapFrameDecode.cs
- GraphicsContext.cs
- Image.cs
- SortKey.cs
- CapabilitiesUse.cs
- AuthenticationService.cs
- Membership.cs
- RuntimeHandles.cs
- PackUriHelper.cs
- SHA384Managed.cs
- initElementDictionary.cs
- StringToken.cs
- TaskFormBase.cs
- ProviderIncompatibleException.cs
- PasswordDeriveBytes.cs
- X509IssuerSerialKeyIdentifierClause.cs
- PropertyPathConverter.cs
- VerticalAlignConverter.cs
- ToolStripRendererSwitcher.cs
- StorageRoot.cs
- ConnectionProviderAttribute.cs
- SafeNativeMethods.cs
- ToolStripDesignerAvailabilityAttribute.cs