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
- CodeGenerator.cs
- Int32AnimationUsingKeyFrames.cs
- PropertyCondition.cs
- EllipseGeometry.cs
- SmiMetaData.cs
- VirtualizingStackPanel.cs
- IriParsingElement.cs
- ThumbAutomationPeer.cs
- DoubleKeyFrameCollection.cs
- StringSource.cs
- HostSecurityManager.cs
- objectresult_tresulttype.cs
- StrongNameKeyPair.cs
- DynamicQueryStringParameter.cs
- LinkGrep.cs
- RemotingException.cs
- TextEmbeddedObject.cs
- Exception.cs
- SEHException.cs
- _AutoWebProxyScriptWrapper.cs
- DataGridViewAdvancedBorderStyle.cs
- FieldBuilder.cs
- DrawingVisualDrawingContext.cs
- TryLoadRunnableWorkflowCommand.cs
- FileDetails.cs
- Overlapped.cs
- ArrayElementGridEntry.cs
- Vector3DCollectionValueSerializer.cs
- QueryServiceConfigHandle.cs
- BuildResultCache.cs
- PackageDigitalSignature.cs
- path.cs
- WebPartZoneBase.cs
- TableAutomationPeer.cs
- WebSysDefaultValueAttribute.cs
- QueueProcessor.cs
- Converter.cs
- EllipseGeometry.cs
- UrlAuthFailedErrorFormatter.cs
- XmlNamespaceDeclarationsAttribute.cs
- JournalEntry.cs
- EncodingInfo.cs
- PlatformNotSupportedException.cs
- WSFederationHttpBindingCollectionElement.cs
- IdentifierService.cs
- SchemaImporterExtensionElementCollection.cs
- InteropBitmapSource.cs
- HttpHandlerAction.cs
- TemplatedWizardStep.cs
- CreateRefExpr.cs
- List.cs
- DSACryptoServiceProvider.cs
- TypeConverterHelper.cs
- WindowsSecurityTokenAuthenticator.cs
- RtfToXamlReader.cs
- BinaryMessageEncoder.cs
- PolyBezierSegmentFigureLogic.cs
- HtmlShimManager.cs
- Viewport2DVisual3D.cs
- MaterializeFromAtom.cs
- ZoneIdentityPermission.cs
- DesignerAutoFormatStyle.cs
- DummyDataSource.cs
- ContentType.cs
- EntityStoreSchemaFilterEntry.cs
- MsmqInputMessagePool.cs
- Win32.cs
- DbDeleteCommandTree.cs
- XsdBuilder.cs
- Registry.cs
- ServiceDescriptions.cs
- HatchBrush.cs
- PeerNearMe.cs
- BamlLocalizer.cs
- InkPresenterAutomationPeer.cs
- Color.cs
- JsonXmlDataContract.cs
- ColumnCollection.cs
- CultureTableRecord.cs
- VisualStyleElement.cs
- CategoryEditor.cs
- ReflectionUtil.cs
- NumericUpDownAcceleration.cs
- LicFileLicenseProvider.cs
- TextTreeTextNode.cs
- MetafileHeaderEmf.cs
- CancelRequestedRecord.cs
- FormatSettings.cs
- HttpModuleActionCollection.cs
- HttpRawResponse.cs
- WindowsFormsLinkLabel.cs
- ItemsPanelTemplate.cs
- DataControlFieldHeaderCell.cs
- ButtonChrome.cs
- figurelengthconverter.cs
- CompilationLock.cs
- TextEffect.cs
- ScriptHandlerFactory.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- SectionInformation.cs