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
- _OSSOCK.cs
- EntityObject.cs
- SplitterPanel.cs
- InfocardChannelParameter.cs
- DefaultParameterValueAttribute.cs
- CommandPlan.cs
- BamlBinaryWriter.cs
- CmsInterop.cs
- Point3DIndependentAnimationStorage.cs
- MessageHeaderAttribute.cs
- QuaternionValueSerializer.cs
- XmlSchemaSimpleContent.cs
- CaseExpr.cs
- GlyphManager.cs
- DeploymentSectionCache.cs
- DESCryptoServiceProvider.cs
- WindowPatternIdentifiers.cs
- TypePropertyEditor.cs
- UiaCoreApi.cs
- WebBrowserEvent.cs
- BStrWrapper.cs
- BooleanAnimationUsingKeyFrames.cs
- ClientTargetCollection.cs
- WebHeaderCollection.cs
- Link.cs
- MeasurementDCInfo.cs
- IntegerCollectionEditor.cs
- SerializableAttribute.cs
- _ChunkParse.cs
- GlobalDataBindingHandler.cs
- HWStack.cs
- EditorZoneBase.cs
- SerializerDescriptor.cs
- Selection.cs
- FileDetails.cs
- DataListCommandEventArgs.cs
- SortKey.cs
- ConfigurationSettings.cs
- HMACMD5.cs
- KoreanCalendar.cs
- WeakReference.cs
- TranslateTransform3D.cs
- SymDocumentType.cs
- XmlNodeComparer.cs
- RegexCode.cs
- VisemeEventArgs.cs
- Helper.cs
- Gdiplus.cs
- BindingManagerDataErrorEventArgs.cs
- MenuItemStyle.cs
- UnsupportedPolicyOptionsException.cs
- SectionInformation.cs
- TranslateTransform3D.cs
- ItemCheckEvent.cs
- XamlPointCollectionSerializer.cs
- __Error.cs
- IDReferencePropertyAttribute.cs
- relpropertyhelper.cs
- TheQuery.cs
- Parsers.cs
- FrameworkContentElement.cs
- FactoryGenerator.cs
- MobileListItem.cs
- Variant.cs
- RuleSetDialog.Designer.cs
- ToolZone.cs
- SubstitutionDesigner.cs
- MenuItemCollectionEditorDialog.cs
- PropertySet.cs
- AutomationPatternInfo.cs
- MultiPartWriter.cs
- SystemWebSectionGroup.cs
- Keyboard.cs
- OracleCommandSet.cs
- DataTableCollection.cs
- FontStyleConverter.cs
- ControlBindingsCollection.cs
- StylusPointPropertyUnit.cs
- ProcessInputEventArgs.cs
- MaskDescriptors.cs
- HttpSocketManager.cs
- TextServicesCompartmentEventSink.cs
- VScrollProperties.cs
- InternalsVisibleToAttribute.cs
- UInt64Storage.cs
- SecurityValidationBehavior.cs
- WebPartMenu.cs
- VariantWrapper.cs
- OdbcEnvironmentHandle.cs
- DragDropManager.cs
- XmlSiteMapProvider.cs
- TemplateXamlTreeBuilder.cs
- XPathConvert.cs
- __ConsoleStream.cs
- LoadedOrUnloadedOperation.cs
- SizeAnimationClockResource.cs
- MultiSelectRootGridEntry.cs
- XappLauncher.cs
- xamlnodes.cs
- DBAsyncResult.cs