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
- QuestionEventArgs.cs
- DataRowChangeEvent.cs
- PersonalizationProviderHelper.cs
- SelectionItemProviderWrapper.cs
- WindowsFormsHostAutomationPeer.cs
- WebBaseEventKeyComparer.cs
- GuidelineCollection.cs
- PageCache.cs
- WindowExtensionMethods.cs
- AmbientValueAttribute.cs
- WCFBuildProvider.cs
- WebMessageEncodingBindingElement.cs
- ExternalException.cs
- ConfigXmlReader.cs
- PermissionSet.cs
- Module.cs
- Dictionary.cs
- GiveFeedbackEventArgs.cs
- ObjectDisposedException.cs
- SpecularMaterial.cs
- InputScope.cs
- ListParagraph.cs
- ByteAnimationUsingKeyFrames.cs
- DynamicValueConverter.cs
- ScriptingSectionGroup.cs
- sqlinternaltransaction.cs
- GradientStopCollection.cs
- GridToolTip.cs
- HtmlFormParameterReader.cs
- FontStyleConverter.cs
- DataServiceRequestException.cs
- DateTimeParse.cs
- AuthorizationContext.cs
- TypeForwardedToAttribute.cs
- SoapFaultCodes.cs
- SmtpFailedRecipientsException.cs
- Point3DAnimationUsingKeyFrames.cs
- ServiceNameElementCollection.cs
- RangeContentEnumerator.cs
- SqlConnectionHelper.cs
- DataControlField.cs
- GridViewColumnCollection.cs
- SQLBinary.cs
- EndOfStreamException.cs
- StorageBasedPackageProperties.cs
- LocalFileSettingsProvider.cs
- EmptyStringExpandableObjectConverter.cs
- Parsers.cs
- DocumentXPathNavigator.cs
- GeometryGroup.cs
- ByteFacetDescriptionElement.cs
- XmlSerializerObjectSerializer.cs
- InstanceDataCollection.cs
- ControlAdapter.cs
- RectangleHotSpot.cs
- ServiceDescriptionData.cs
- DesignerCommandSet.cs
- Schema.cs
- XmlSchemaCompilationSettings.cs
- QuestionEventArgs.cs
- MDIWindowDialog.cs
- SignatureResourceHelper.cs
- FixedTextView.cs
- RelationshipFixer.cs
- IPEndPointCollection.cs
- Renderer.cs
- ExpressionContext.cs
- CollectionsUtil.cs
- ColumnTypeConverter.cs
- XmlSchemaSimpleContent.cs
- UnsafeNativeMethodsTablet.cs
- FixUp.cs
- DateTimeStorage.cs
- PointCollection.cs
- TableCellAutomationPeer.cs
- TextBox.cs
- CallbackHandler.cs
- XslAst.cs
- WebHttpElement.cs
- ComNativeDescriptor.cs
- COM2PictureConverter.cs
- NamespaceEmitter.cs
- SafeWaitHandle.cs
- ObjectCloneHelper.cs
- EndpointAddressProcessor.cs
- FileUtil.cs
- Grid.cs
- SystemPens.cs
- TrustManager.cs
- BidPrivateBase.cs
- TextTreeTextNode.cs
- XmlSchemaSimpleTypeRestriction.cs
- Int32Rect.cs
- InstanceHandle.cs
- PathFigureCollectionConverter.cs
- SHA1Managed.cs
- TableSectionStyle.cs
- Attributes.cs
- EventLogRecord.cs
- InvokePatternIdentifiers.cs