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
- RecordBuilder.cs
- UnknownBitmapEncoder.cs
- NavigationService.cs
- UserNamePasswordClientCredential.cs
- PropertiesTab.cs
- MessageSmuggler.cs
- MimeXmlReflector.cs
- C14NUtil.cs
- Point.cs
- SafeNativeMethods.cs
- ElementUtil.cs
- ColumnReorderedEventArgs.cs
- DataSourceGroupCollection.cs
- XmlExceptionHelper.cs
- SqlXmlStorage.cs
- SqlErrorCollection.cs
- SamlAudienceRestrictionCondition.cs
- XmlComplianceUtil.cs
- BeginEvent.cs
- HttpProfileGroupBase.cs
- TransportSecurityHelpers.cs
- CodeTryCatchFinallyStatement.cs
- _SslSessionsCache.cs
- UrlMapping.cs
- ObfuscationAttribute.cs
- InvalidOperationException.cs
- ParserHooks.cs
- Utils.cs
- CharUnicodeInfo.cs
- NGCUIElementCollectionSerializerAsync.cs
- FunctionUpdateCommand.cs
- RequestContext.cs
- XsdDateTime.cs
- IsolatedStoragePermission.cs
- BinaryObjectInfo.cs
- HyperLink.cs
- WebPartMinimizeVerb.cs
- TrailingSpaceComparer.cs
- WizardForm.cs
- FloaterBaseParaClient.cs
- PriorityRange.cs
- FaultDescription.cs
- _HTTPDateParse.cs
- CodeTypeDeclaration.cs
- iisPickupDirectory.cs
- RangeValuePattern.cs
- RadioButtonStandardAdapter.cs
- OleDbPropertySetGuid.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- ViewKeyConstraint.cs
- MouseEvent.cs
- DrawingVisual.cs
- MailAddressCollection.cs
- Invariant.cs
- Int16Animation.cs
- SoapProcessingBehavior.cs
- ServicePointManagerElement.cs
- HtmlInputPassword.cs
- TypeUsageBuilder.cs
- GcHandle.cs
- AttributeProviderAttribute.cs
- CommandSet.cs
- SqlIdentifier.cs
- RawStylusInputCustomData.cs
- RouteItem.cs
- ServiceChannelFactory.cs
- ZipIOExtraField.cs
- BinaryNode.cs
- TextEndOfLine.cs
- SystemFonts.cs
- IssuedTokensHeader.cs
- _SslSessionsCache.cs
- EmptyImpersonationContext.cs
- HideDisabledControlAdapter.cs
- HtmlFormWrapper.cs
- HyperLink.cs
- EncryptedPackage.cs
- Subtree.cs
- WebPartConnectionsDisconnectVerb.cs
- TranslateTransform.cs
- TdsValueSetter.cs
- _Connection.cs
- HtmlForm.cs
- ImageSource.cs
- SerializableAttribute.cs
- EmptyCollection.cs
- StatusBarDrawItemEvent.cs
- TargetPerspective.cs
- SizeValueSerializer.cs
- StylusPointDescription.cs
- ServiceParser.cs
- KeyValuePairs.cs
- GeneralTransform3DCollection.cs
- Transform3D.cs
- SelectionService.cs
- AsnEncodedData.cs
- ReferentialConstraint.cs
- DispatcherExceptionEventArgs.cs
- OracleConnectionString.cs
- EntityExpressionVisitor.cs