Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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 {
///
///
/// EventArgs for onerror event of HtmlElement
///
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;
}
///
///
/// Description of error
///
public string Description
{
get
{
return description;
}
}
///
///
///
/// Gets or sets a value indicating whether the
/// event was handled.
///
///
public bool Handled {
get {
return handled;
}
set {
handled = value;
}
}
///
///
/// Line number where error occurred
///
public int LineNumber
{
get
{
return lineNumber;
}
}
///
///
/// Url 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.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MailSettingsSection.cs
- SubMenuStyleCollection.cs
- CodeMemberProperty.cs
- MultiBinding.cs
- MultipleViewProviderWrapper.cs
- BooleanAnimationUsingKeyFrames.cs
- OdbcUtils.cs
- XsltSettings.cs
- PixelFormat.cs
- DataGridPagerStyle.cs
- PrincipalPermission.cs
- WebPartConnectionsConfigureVerb.cs
- KnownTypesHelper.cs
- SurrogateSelector.cs
- CompensationToken.cs
- DesignTimeType.cs
- ToolboxItemFilterAttribute.cs
- FormView.cs
- TreeBuilder.cs
- TextRunProperties.cs
- DataGridViewCellCancelEventArgs.cs
- XmlSchemaExternal.cs
- HWStack.cs
- GcSettings.cs
- AxisAngleRotation3D.cs
- DataServiceRequestException.cs
- XhtmlBasicTextBoxAdapter.cs
- AppLevelCompilationSectionCache.cs
- DriveNotFoundException.cs
- TableItemStyle.cs
- StringDictionaryWithComparer.cs
- ValidatorAttribute.cs
- coordinator.cs
- DecimalConverter.cs
- ArcSegment.cs
- CFGGrammar.cs
- ObjectStorage.cs
- SerialPort.cs
- NotifyParentPropertyAttribute.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- ProgressBarHighlightConverter.cs
- RegistryPermission.cs
- DataGridViewColumnCollection.cs
- PkcsMisc.cs
- CollectionChangeEventArgs.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- OdbcDataReader.cs
- WindowsTab.cs
- ModelUtilities.cs
- ForceCopyBuildProvider.cs
- _AutoWebProxyScriptWrapper.cs
- CursorEditor.cs
- oledbconnectionstring.cs
- ActivationArguments.cs
- DataGridCaption.cs
- ObjectNavigationPropertyMapping.cs
- Add.cs
- ChineseLunisolarCalendar.cs
- QueryOperationResponseOfT.cs
- SyndicationDeserializer.cs
- Figure.cs
- TableRow.cs
- SrgsRule.cs
- ErrorWebPart.cs
- CapiSymmetricAlgorithm.cs
- MsmqBindingMonitor.cs
- DelegatingTypeDescriptionProvider.cs
- ResourceAssociationSet.cs
- QilExpression.cs
- MultipartIdentifier.cs
- MemberPath.cs
- XomlCompilerHelpers.cs
- StrokeNodeEnumerator.cs
- CursorConverter.cs
- AddInContractAttribute.cs
- SqlError.cs
- EntityDataSourceWrapperCollection.cs
- CmsInterop.cs
- HttpDictionary.cs
- SHA384Managed.cs
- ValidationSummaryDesigner.cs
- CombinedGeometry.cs
- DefaultValueConverter.cs
- StateMachineHelpers.cs
- AdjustableArrowCap.cs
- PolyLineSegment.cs
- ReferentialConstraintRoleElement.cs
- RectangleHotSpot.cs
- XmlDocumentType.cs
- SystemWebExtensionsSectionGroup.cs
- MaskedTextBoxTextEditorDropDown.cs
- SqlMetaData.cs
- CompositeDataBoundControl.cs
- RSAPKCS1KeyExchangeFormatter.cs
- CodeDefaultValueExpression.cs
- Model3DGroup.cs
- IgnoreDataMemberAttribute.cs
- UniqueConstraint.cs
- SpellCheck.cs
- IOException.cs