Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- TextServicesProperty.cs
- HttpCapabilitiesSectionHandler.cs
- PointHitTestResult.cs
- COM2ExtendedBrowsingHandler.cs
- FolderBrowserDialog.cs
- Trigger.cs
- returneventsaver.cs
- AmbientProperties.cs
- GeneralTransform.cs
- TableLayoutSettings.cs
- Span.cs
- WebPartExportVerb.cs
- RSACryptoServiceProvider.cs
- ScaleTransform3D.cs
- SystemSounds.cs
- MediaPlayer.cs
- AddInToken.cs
- SqlReferenceCollection.cs
- TypedDataSourceCodeGenerator.cs
- SelectionHighlightInfo.cs
- HtmlControlDesigner.cs
- Group.cs
- ProfileSection.cs
- _CacheStreams.cs
- SQLInt64Storage.cs
- webproxy.cs
- BindingOperations.cs
- HttpInputStream.cs
- processwaithandle.cs
- DiscoveryEndpoint.cs
- EntityCommandExecutionException.cs
- querybuilder.cs
- PathSegmentCollection.cs
- TimerExtension.cs
- X509Certificate2.cs
- FileFormatException.cs
- JoinTreeNode.cs
- DataPagerField.cs
- SettingsProperty.cs
- ControlCachePolicy.cs
- CmsUtils.cs
- ResourceSet.cs
- RegexFCD.cs
- HiddenFieldPageStatePersister.cs
- PrintDialog.cs
- DataControlCommands.cs
- GraphicsPath.cs
- XmlCustomFormatter.cs
- Resources.Designer.cs
- FragmentQuery.cs
- HttpInputStream.cs
- ListViewItem.cs
- AnnotationDocumentPaginator.cs
- SQLDoubleStorage.cs
- Converter.cs
- UIntPtr.cs
- FrameworkContentElementAutomationPeer.cs
- AddingNewEventArgs.cs
- ValidatingCollection.cs
- ForwardPositionQuery.cs
- ScriptIgnoreAttribute.cs
- DataKey.cs
- ScaleTransform.cs
- ColumnProvider.cs
- objectresult_tresulttype.cs
- CustomErrorCollection.cs
- GregorianCalendarHelper.cs
- SqlNodeAnnotations.cs
- SafeCancelMibChangeNotify.cs
- BufferedGraphicsManager.cs
- ServiceContractAttribute.cs
- DnsPermission.cs
- CombinedGeometry.cs
- NullableLongAverageAggregationOperator.cs
- DependencyObject.cs
- InvokerUtil.cs
- Rectangle.cs
- SpeechRecognitionEngine.cs
- OleServicesContext.cs
- RangeValuePattern.cs
- FontFamilyIdentifier.cs
- DrawingServices.cs
- StickyNote.cs
- OverflowException.cs
- ListView.cs
- ByteStreamGeometryContext.cs
- ParameterBuilder.cs
- MatrixUtil.cs
- GraphicsState.cs
- ChameleonKey.cs
- XPathNodeInfoAtom.cs
- MSAANativeProvider.cs
- ParentQuery.cs
- IgnoreFileBuildProvider.cs
- EventMetadata.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- EpmSyndicationContentSerializer.cs
- ImageListUtils.cs
- ResourceContainer.cs
- FormsAuthenticationUserCollection.cs