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
- ISAPIApplicationHost.cs
- TransportElement.cs
- DataRowChangeEvent.cs
- IApplicationTrustManager.cs
- odbcmetadatacollectionnames.cs
- SafeEventLogWriteHandle.cs
- CompilerWrapper.cs
- MouseButton.cs
- EnvelopedPkcs7.cs
- SQLInt16.cs
- MetabaseServerConfig.cs
- XmlWhitespace.cs
- SmtpAuthenticationManager.cs
- ByteFacetDescriptionElement.cs
- _NegoState.cs
- AuthStoreRoleProvider.cs
- TemplateBindingExtension.cs
- HtmlShim.cs
- SqlCommandBuilder.cs
- DeviceContext2.cs
- GridItemProviderWrapper.cs
- shaperfactoryquerycacheentry.cs
- DelegatedStream.cs
- TabControl.cs
- PseudoWebRequest.cs
- SHA512.cs
- CompressionTransform.cs
- CompositeActivityCodeGenerator.cs
- HtmlTernaryTree.cs
- DocumentApplicationJournalEntry.cs
- LogSwitch.cs
- GeometryCombineModeValidation.cs
- FieldNameLookup.cs
- KeyboardDevice.cs
- RepeatButtonAutomationPeer.cs
- ProfilePropertyNameValidator.cs
- WebPartMenuStyle.cs
- ProtocolsConfigurationHandler.cs
- SimpleBitVector32.cs
- ObjectStateEntryDbDataRecord.cs
- DBConnectionString.cs
- UnhandledExceptionEventArgs.cs
- StrokeFIndices.cs
- SiteMembershipCondition.cs
- SqlInfoMessageEvent.cs
- SafeReversePInvokeHandle.cs
- HttpCapabilitiesBase.cs
- TriggerAction.cs
- HttpRequestTraceRecord.cs
- MemberDescriptor.cs
- TableAdapterManagerMethodGenerator.cs
- OleDbEnumerator.cs
- SqlException.cs
- BaseAddressElement.cs
- VectorAnimationBase.cs
- ByteRangeDownloader.cs
- DataGridViewCheckBoxColumn.cs
- SelectionProcessor.cs
- TableItemProviderWrapper.cs
- DispatcherHookEventArgs.cs
- AttributeEmitter.cs
- AssemblyFilter.cs
- CacheChildrenQuery.cs
- RelationshipSet.cs
- TextStore.cs
- WindowsFormsLinkLabel.cs
- ProfilePropertySettingsCollection.cs
- EditBehavior.cs
- BaseResourcesBuildProvider.cs
- XmlWhitespace.cs
- ExecutionContext.cs
- JoinElimination.cs
- Attributes.cs
- DataGridItemCollection.cs
- MimeTypePropertyAttribute.cs
- ComponentEvent.cs
- WebPartCancelEventArgs.cs
- SeverityFilter.cs
- ProfileParameter.cs
- VirtualPathProvider.cs
- TrackingProfile.cs
- GatewayIPAddressInformationCollection.cs
- UIElementParagraph.cs
- ModelVisual3D.cs
- ResponseBodyWriter.cs
- basevalidator.cs
- Int16AnimationUsingKeyFrames.cs
- InternalsVisibleToAttribute.cs
- HMAC.cs
- NetSectionGroup.cs
- WinInet.cs
- ExpressionNode.cs
- WindowsAuthenticationEventArgs.cs
- QilTypeChecker.cs
- SystemInfo.cs
- CommandDesigner.cs
- OleDbEnumerator.cs
- ScrollContentPresenter.cs
- sqlstateclientmanager.cs
- TargetInvocationException.cs