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
- WebBrowsableAttribute.cs
- NavigatingCancelEventArgs.cs
- Visitors.cs
- ImpersonateTokenRef.cs
- AnnotationHelper.cs
- CollectionChangedEventManager.cs
- PropertyOrder.cs
- JsonDataContract.cs
- WmpBitmapEncoder.cs
- UriExt.cs
- SecurityPermission.cs
- HtmlTitle.cs
- Matrix3DStack.cs
- DefaultProxySection.cs
- WebPartDisplayModeCollection.cs
- InputProviderSite.cs
- CardSpaceException.cs
- TableParaClient.cs
- PropertyChangingEventArgs.cs
- TemplateApplicationHelper.cs
- GenericIdentity.cs
- PageBreakRecord.cs
- EntityDataSourceChangedEventArgs.cs
- DbgUtil.cs
- LinqDataSourceContextData.cs
- PenLineCapValidation.cs
- CollectionViewGroupRoot.cs
- EditingCommands.cs
- IncrementalReadDecoders.cs
- ConfigsHelper.cs
- CertificateManager.cs
- CommonXSendMessage.cs
- MdImport.cs
- DataProtection.cs
- ContentFilePart.cs
- SqlNodeAnnotation.cs
- TextInfo.cs
- CorrelationManager.cs
- ToolStripButton.cs
- PatternMatcher.cs
- EdmRelationshipRoleAttribute.cs
- DataGridViewDataConnection.cs
- AttributeEmitter.cs
- xmlformatgeneratorstatics.cs
- CompiledIdentityConstraint.cs
- XPathConvert.cs
- DataGrid.cs
- CssStyleCollection.cs
- UriTemplateClientFormatter.cs
- PropertyToken.cs
- EncodingDataItem.cs
- XmlNodeChangedEventArgs.cs
- SerializationObjectManager.cs
- ReaderWriterLockWrapper.cs
- TextUtf8RawTextWriter.cs
- ReadOnlyNameValueCollection.cs
- CodeGroup.cs
- Int32CollectionValueSerializer.cs
- DrawingAttributes.cs
- ProcessHostConfigUtils.cs
- Polygon.cs
- NegotiateStream.cs
- XmlSchemaValidator.cs
- Int64Storage.cs
- SystemColorTracker.cs
- FactoryGenerator.cs
- EditorAttribute.cs
- _Connection.cs
- TextDecorationUnitValidation.cs
- Assert.cs
- OrderByQueryOptionExpression.cs
- RoleGroupCollectionEditor.cs
- URLString.cs
- RenderCapability.cs
- ZoneLinkButton.cs
- CompiledRegexRunnerFactory.cs
- Pen.cs
- SafeArrayTypeMismatchException.cs
- SplitterCancelEvent.cs
- RotateTransform.cs
- PropertyInfoSet.cs
- SqlSupersetValidator.cs
- FileVersionInfo.cs
- ExpandCollapseProviderWrapper.cs
- ResourceProperty.cs
- SelectedPathEditor.cs
- XmlStringTable.cs
- CurrentChangingEventArgs.cs
- ClientBuildManagerCallback.cs
- DataPager.cs
- DataTableReader.cs
- FlowDecisionLabelFeature.cs
- SqlNotificationEventArgs.cs
- SqlCacheDependencySection.cs
- LogRestartAreaEnumerator.cs
- CallTemplateAction.cs
- TextCompositionEventArgs.cs
- PeerNameRecordCollection.cs
- ToolStripItemTextRenderEventArgs.cs
- DetailsViewRow.cs