Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- EventProxy.cs
- TreeNodeMouseHoverEvent.cs
- HttpEncoder.cs
- DefaultValueConverter.cs
- ReturnType.cs
- ByteAnimationUsingKeyFrames.cs
- RsaSecurityToken.cs
- SeekStoryboard.cs
- ThumbAutomationPeer.cs
- JulianCalendar.cs
- ScriptBehaviorDescriptor.cs
- TableDetailsCollection.cs
- RandomDelayQueuedSendsAsyncResult.cs
- SyndicationSerializer.cs
- RadioButtonRenderer.cs
- PopupRootAutomationPeer.cs
- AbstractDataSvcMapFileLoader.cs
- BaseResourcesBuildProvider.cs
- ParenthesizePropertyNameAttribute.cs
- EntitySetDataBindingList.cs
- ServiceObjectContainer.cs
- TableLayoutPanelCellPosition.cs
- WebPartChrome.cs
- DataRelationPropertyDescriptor.cs
- IdentityHolder.cs
- QuaternionAnimationBase.cs
- SqlDataRecord.cs
- CodeParameterDeclarationExpression.cs
- SapiRecognizer.cs
- RequestQueryParser.cs
- MenuItemBinding.cs
- XamlPointCollectionSerializer.cs
- CharAnimationUsingKeyFrames.cs
- validation.cs
- GatewayIPAddressInformationCollection.cs
- RtfFormatStack.cs
- IPipelineRuntime.cs
- StringConverter.cs
- ReliableChannelListener.cs
- TextAnchor.cs
- LocalBuilder.cs
- CustomErrorsSectionWrapper.cs
- EntitySetBase.cs
- FileDialog_Vista_Interop.cs
- HtmlTitle.cs
- DbReferenceCollection.cs
- Rectangle.cs
- PersistenceTypeAttribute.cs
- DataGridComponentEditor.cs
- BrowserDefinition.cs
- CloseCryptoHandleRequest.cs
- UnsafeMethods.cs
- MeasureData.cs
- TransformValueSerializer.cs
- Variable.cs
- ValidationErrorEventArgs.cs
- ClientScriptManager.cs
- CfgRule.cs
- TrustManagerPromptUI.cs
- PropertyMetadata.cs
- GraphicsPathIterator.cs
- MatchingStyle.cs
- ItemDragEvent.cs
- JoinElimination.cs
- AnnotationDocumentPaginator.cs
- _SpnDictionary.cs
- DoubleAnimation.cs
- Visual3D.cs
- CompilationSection.cs
- Timer.cs
- HashHelper.cs
- SqlUtils.cs
- ClientSettingsSection.cs
- TextTabProperties.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- ObjectRef.cs
- WebPartHeaderCloseVerb.cs
- Header.cs
- EventHandlerList.cs
- SystemException.cs
- TdsParameterSetter.cs
- GridViewRow.cs
- DefaultProxySection.cs
- QilFunction.cs
- EdmValidator.cs
- ParallelDesigner.cs
- AttributeUsageAttribute.cs
- ProviderUtil.cs
- TransformConverter.cs
- DbUpdateCommandTree.cs
- RunWorkerCompletedEventArgs.cs
- RefreshPropertiesAttribute.cs
- HtmlEncodedRawTextWriter.cs
- Paragraph.cs
- InvokeMethodDesigner.xaml.cs
- SmtpException.cs
- NavigationExpr.cs
- TemplateColumn.cs
- LockRecursionException.cs
- TreeViewAutomationPeer.cs