Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / HtmlElementErrorEventArgs.cs / 1305376 / 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
- Rotation3D.cs
- RenderOptions.cs
- BufferedWebEventProvider.cs
- ActivityBuilder.cs
- CanonicalXml.cs
- CommonDialog.cs
- BitmapCache.cs
- RC2CryptoServiceProvider.cs
- SecurityKeyIdentifierClause.cs
- TabControl.cs
- SoapMessage.cs
- XmlHierarchicalDataSourceView.cs
- Command.cs
- LinkTarget.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- FixedSOMLineRanges.cs
- DockEditor.cs
- HttpSessionStateWrapper.cs
- GPPOINT.cs
- FlowDocumentPage.cs
- X509Utils.cs
- SqlSelectClauseBuilder.cs
- XmlSecureResolver.cs
- DataGridViewTopLeftHeaderCell.cs
- GeneralTransform3DGroup.cs
- OptimizedTemplateContentHelper.cs
- ContainerFilterService.cs
- CompilationRelaxations.cs
- _UriTypeConverter.cs
- MetricEntry.cs
- HMACMD5.cs
- CollectionDataContract.cs
- MatrixTransform.cs
- PerformanceCounterPermissionEntry.cs
- TransformerInfo.cs
- RepeatBehavior.cs
- DiagnosticStrings.cs
- IntSecurity.cs
- OdbcCommand.cs
- HitTestParameters.cs
- DayRenderEvent.cs
- MobileListItemCollection.cs
- XmlSerializerNamespaces.cs
- StringConcat.cs
- DataGridToolTip.cs
- XsltOutput.cs
- FileLogRecordEnumerator.cs
- ObjectStorage.cs
- InstanceDataCollectionCollection.cs
- StorageConditionPropertyMapping.cs
- VisualBrush.cs
- TableLayoutPanelCodeDomSerializer.cs
- PathFigureCollectionConverter.cs
- Rect.cs
- ListViewUpdatedEventArgs.cs
- BoundConstants.cs
- CustomGrammar.cs
- OdbcDataAdapter.cs
- QueuedDeliveryRequirementsMode.cs
- WebHttpBinding.cs
- _AuthenticationState.cs
- BindingSourceDesigner.cs
- WebSysDefaultValueAttribute.cs
- HtmlCalendarAdapter.cs
- ListBox.cs
- TogglePattern.cs
- EntityContainerAssociationSet.cs
- SmtpAuthenticationManager.cs
- NotImplementedException.cs
- SingleAnimation.cs
- LinqDataSource.cs
- BitmapEffectDrawingContextState.cs
- FileBasedResourceGroveler.cs
- Selection.cs
- ReceiveMessageContent.cs
- UInt32Storage.cs
- SoapException.cs
- PersonalizationStateQuery.cs
- RecognizerBase.cs
- localization.cs
- ExpressionPrinter.cs
- DataControlLinkButton.cs
- Command.cs
- XmlDataSourceNodeDescriptor.cs
- Serializer.cs
- PropertyManager.cs
- HtmlEmptyTagControlBuilder.cs
- MsmqInputMessagePool.cs
- DbProviderFactoriesConfigurationHandler.cs
- ScaleTransform3D.cs
- SettingsProperty.cs
- SqlRowUpdatedEvent.cs
- RuleSetDialog.cs
- ObjectViewListener.cs
- DataShape.cs
- ChooseAction.cs
- DispatcherProcessingDisabled.cs
- ObjectSet.cs
- ToolStripItemEventArgs.cs
- RootContext.cs