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
- GenericEnumerator.cs
- SqlTopReducer.cs
- ComponentCommands.cs
- DescendantOverDescendantQuery.cs
- TextParagraphView.cs
- DiscoveryDocument.cs
- ServiceDeploymentInfo.cs
- HttpApplication.cs
- NominalTypeEliminator.cs
- WorkflowItemPresenter.cs
- InputBuffer.cs
- SQLInt32.cs
- Propagator.cs
- XmlSchemaInfo.cs
- CachedPathData.cs
- SizeKeyFrameCollection.cs
- EventProxy.cs
- ExpandableObjectConverter.cs
- Panel.cs
- AssociatedControlConverter.cs
- Timeline.cs
- AdapterUtil.cs
- PerformanceCounterCategory.cs
- WindowsGrip.cs
- DataControlReference.cs
- StreamMarshaler.cs
- DetailsViewUpdateEventArgs.cs
- TypeLoader.cs
- MessagingActivityHelper.cs
- ExtensibleClassFactory.cs
- RecognizeCompletedEventArgs.cs
- GenericTypeParameterBuilder.cs
- SendActivityDesignerTheme.cs
- Win32Native.cs
- Compilation.cs
- HelpInfo.cs
- IssuanceLicense.cs
- ConfigurationLocationCollection.cs
- _SslStream.cs
- MemberPathMap.cs
- PublishLicense.cs
- Bits.cs
- WorkflowFileItem.cs
- FileSystemWatcher.cs
- ClassicBorderDecorator.cs
- VariableExpressionConverter.cs
- WindowsPen.cs
- Exception.cs
- TypedDataSetSchemaImporterExtension.cs
- CultureInfoConverter.cs
- CodeDelegateCreateExpression.cs
- UriSection.cs
- Animatable.cs
- JavaScriptSerializer.cs
- TextSelection.cs
- MessageQueueAccessControlEntry.cs
- AbstractExpressions.cs
- BaseParaClient.cs
- DataSourceSerializationException.cs
- WinEventQueueItem.cs
- BuildProvidersCompiler.cs
- ListItemViewControl.cs
- HWStack.cs
- PeerApplicationLaunchInfo.cs
- _ShellExpression.cs
- ConnectionManagementElementCollection.cs
- ViewCellSlot.cs
- BitHelper.cs
- DataBoundControlHelper.cs
- Cloud.cs
- HostedImpersonationContext.cs
- DispatcherObject.cs
- DataSourceIDConverter.cs
- DragCompletedEventArgs.cs
- XmlNamespaceManager.cs
- ToolStripDropTargetManager.cs
- TypeSystemHelpers.cs
- WebScriptMetadataMessage.cs
- ComboBoxRenderer.cs
- RequestDescription.cs
- FixedPageProcessor.cs
- Attributes.cs
- XmlNavigatorStack.cs
- ObjectStateEntry.cs
- StylusDownEventArgs.cs
- BehaviorService.cs
- ExternalDataExchangeService.cs
- BaseInfoTable.cs
- LogStore.cs
- HttpInputStream.cs
- SqlStatistics.cs
- lengthconverter.cs
- NumberFormatInfo.cs
- RequestCacheEntry.cs
- Popup.cs
- TemplateFactory.cs
- GridItemCollection.cs
- PublisherIdentityPermission.cs
- FunctionNode.cs
- FormDocumentDesigner.cs