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
- IgnoreSection.cs
- ExecutionContext.cs
- MessagePartSpecification.cs
- ValidatingReaderNodeData.cs
- FormViewInsertedEventArgs.cs
- DependentList.cs
- ItemCollection.cs
- CalendarAutomationPeer.cs
- ContainerUIElement3D.cs
- MediaTimeline.cs
- BamlResourceContent.cs
- RuleRef.cs
- TableAutomationPeer.cs
- FontStyle.cs
- SHA1Managed.cs
- FrameworkObject.cs
- GcHandle.cs
- FilterQuery.cs
- filewebrequest.cs
- SmiEventSink_Default.cs
- RelatedImageListAttribute.cs
- PointKeyFrameCollection.cs
- DataGridParentRows.cs
- MobileControl.cs
- IntersectQueryOperator.cs
- DataBoundLiteralControl.cs
- MaskedTextBox.cs
- MediaElement.cs
- ForceCopyBuildProvider.cs
- DropTarget.cs
- SplashScreenNativeMethods.cs
- CounterSampleCalculator.cs
- WebProxyScriptElement.cs
- DownloadProgressEventArgs.cs
- MenuItemCollection.cs
- ComPlusDiagnosticTraceRecords.cs
- ObjRef.cs
- KeyMatchBuilder.cs
- ParameterRetriever.cs
- FileStream.cs
- TableLayoutPanelCodeDomSerializer.cs
- IISMapPath.cs
- XmlCharacterData.cs
- TransformCollection.cs
- WebBrowserContainer.cs
- GAC.cs
- WaitHandleCannotBeOpenedException.cs
- Activator.cs
- ConfigXmlText.cs
- HtmlForm.cs
- AppDomainManager.cs
- MDIControlStrip.cs
- MappingSource.cs
- PersonalizationStateInfo.cs
- ToolStripDropDown.cs
- RoutedEvent.cs
- DataGridSortCommandEventArgs.cs
- HyperlinkAutomationPeer.cs
- ListMarkerLine.cs
- OracleRowUpdatedEventArgs.cs
- Size3D.cs
- PeerContact.cs
- ComplexType.cs
- SplineKeyFrames.cs
- Update.cs
- XmlDocumentSerializer.cs
- HeaderCollection.cs
- ValueUtilsSmi.cs
- ObjectViewListener.cs
- DetailsView.cs
- BindingValueChangedEventArgs.cs
- SByteStorage.cs
- ResXFileRef.cs
- ColorContext.cs
- SymLanguageVendor.cs
- OutputCacheSettingsSection.cs
- SessionEndingCancelEventArgs.cs
- DependencyPropertyDescriptor.cs
- DataGridTextBox.cs
- LOSFormatter.cs
- DrawToolTipEventArgs.cs
- URLBuilder.cs
- EventDescriptor.cs
- SqlException.cs
- TextElementEnumerator.cs
- CaretElement.cs
- Int16Animation.cs
- _DisconnectOverlappedAsyncResult.cs
- Touch.cs
- AtlasWeb.Designer.cs
- XAMLParseException.cs
- ContextDataSourceView.cs
- XmlSchemaSimpleTypeUnion.cs
- NavigationHelper.cs
- IBuiltInEvidence.cs
- KeySpline.cs
- ConnectorSelectionGlyph.cs
- ToolStripTextBox.cs
- SmiSettersStream.cs
- Viewport3DAutomationPeer.cs