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
- Queue.cs
- DelegateSerializationHolder.cs
- GradientBrush.cs
- SecurityTokenProvider.cs
- ThicknessKeyFrameCollection.cs
- ItemsChangedEventArgs.cs
- NativeObjectSecurity.cs
- FormParameter.cs
- Image.cs
- DataGridViewTextBoxEditingControl.cs
- EntityClientCacheKey.cs
- QilStrConcatenator.cs
- RemoteWebConfigurationHost.cs
- SelfIssuedTokenFactoryCredential.cs
- HttpModuleCollection.cs
- StringAnimationUsingKeyFrames.cs
- MessageSecurityProtocolFactory.cs
- WebBrowser.cs
- UnaryNode.cs
- OleDbPermission.cs
- TreeIterators.cs
- XmlSchemaChoice.cs
- Int32Rect.cs
- Freezable.cs
- TabControlCancelEvent.cs
- HttpSessionStateBase.cs
- ContractBase.cs
- XslCompiledTransform.cs
- columnmapkeybuilder.cs
- CreateParams.cs
- DeadCharTextComposition.cs
- TreeView.cs
- StdValidatorsAndConverters.cs
- EncoderParameter.cs
- OverflowException.cs
- StorageEntityTypeMapping.cs
- QilFunction.cs
- DelegateBodyWriter.cs
- ApplicationSettingsBase.cs
- TextAdaptor.cs
- DBConcurrencyException.cs
- ResponseStream.cs
- HotCommands.cs
- ButtonStandardAdapter.cs
- DataGridComponentEditor.cs
- ASCIIEncoding.cs
- CodeMemberField.cs
- SqlError.cs
- ItemCheckedEvent.cs
- Win32.cs
- JoinGraph.cs
- EncodingNLS.cs
- ProcessHost.cs
- TagElement.cs
- DeleteBookmarkScope.cs
- PrimaryKeyTypeConverter.cs
- ScriptManager.cs
- ExclusiveNamedPipeTransportManager.cs
- PermissionListSet.cs
- QueryCursorEventArgs.cs
- Label.cs
- BehaviorDragDropEventArgs.cs
- NeutralResourcesLanguageAttribute.cs
- LexicalChunk.cs
- RawStylusSystemGestureInputReport.cs
- ListBase.cs
- MenuEventArgs.cs
- CacheDict.cs
- MiniAssembly.cs
- TdsValueSetter.cs
- DataGridCommandEventArgs.cs
- BamlLocalizationDictionary.cs
- IsolatedStorageFilePermission.cs
- PerformanceCounterManager.cs
- XamlPathDataSerializer.cs
- ECDsa.cs
- TransformerTypeCollection.cs
- XmlExtensionFunction.cs
- Literal.cs
- DataBindingCollection.cs
- BrowserCapabilitiesFactoryBase.cs
- ByteAnimationUsingKeyFrames.cs
- SchemaHelper.cs
- CultureInfo.cs
- CorrelationInitializer.cs
- NetworkInformationException.cs
- CngAlgorithm.cs
- _NetRes.cs
- ResourcesBuildProvider.cs
- SetStateEventArgs.cs
- ISAPIWorkerRequest.cs
- ConvertEvent.cs
- FamilyTypeface.cs
- OverrideMode.cs
- SplitterPanel.cs
- FormViewPageEventArgs.cs
- SqlLiftWhereClauses.cs
- XhtmlTextWriter.cs
- SqlParameter.cs
- ApplyTemplatesAction.cs