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
- CreateUserWizardStep.cs
- querybuilder.cs
- InternalsVisibleToAttribute.cs
- GZipStream.cs
- SQLGuidStorage.cs
- MetabaseSettingsIis7.cs
- Monitor.cs
- BinaryCommonClasses.cs
- InternalDuplexChannelListener.cs
- DriveInfo.cs
- Visitor.cs
- WebConfigurationHost.cs
- DbParameterCollection.cs
- CountAggregationOperator.cs
- PageMediaType.cs
- TextTrailingWordEllipsis.cs
- PageAsyncTask.cs
- Choices.cs
- XPathItem.cs
- LicenseContext.cs
- LinqDataSourceEditData.cs
- TextDocumentView.cs
- InvalidWMPVersionException.cs
- ComEventsHelper.cs
- Pen.cs
- UniqueIdentifierService.cs
- DataSetViewSchema.cs
- DbParameterCollectionHelper.cs
- RequestSecurityTokenForGetBrowserToken.cs
- BamlTreeMap.cs
- DataSet.cs
- DictionarySectionHandler.cs
- LinqDataSourceHelper.cs
- PagesSection.cs
- CodeGen.cs
- RadioButtonFlatAdapter.cs
- RenderDataDrawingContext.cs
- MultipartIdentifier.cs
- InkCanvasFeedbackAdorner.cs
- CutCopyPasteHelper.cs
- followingsibling.cs
- WebPartMinimizeVerb.cs
- CompensationHandlingFilter.cs
- AuthenticationSection.cs
- RangeValuePattern.cs
- TextProperties.cs
- ValidationRule.cs
- ActivityExecutionFilter.cs
- MethodCallConverter.cs
- ConditionedDesigner.cs
- _TimerThread.cs
- InputLanguageManager.cs
- TextMessageEncoder.cs
- Int64Storage.cs
- CodeSubDirectory.cs
- InkPresenterAutomationPeer.cs
- InputProviderSite.cs
- RecordConverter.cs
- LinkedResourceCollection.cs
- PLINQETWProvider.cs
- CodeGotoStatement.cs
- KeyBinding.cs
- BCLDebug.cs
- PlanCompilerUtil.cs
- DispatcherTimer.cs
- _AutoWebProxyScriptEngine.cs
- GeneralTransform3D.cs
- SizeValueSerializer.cs
- WorkerRequest.cs
- TextElementCollectionHelper.cs
- SecurityTokenResolver.cs
- BaseInfoTable.cs
- AdapterUtil.cs
- FastEncoderWindow.cs
- DateTimePicker.cs
- TextElementEditingBehaviorAttribute.cs
- HtmlInputImage.cs
- SerializerWriterEventHandlers.cs
- ToolStripArrowRenderEventArgs.cs
- SQlBooleanStorage.cs
- DLinqAssociationProvider.cs
- XmlAttributeOverrides.cs
- Metafile.cs
- DesignerActionHeaderItem.cs
- BindingListCollectionView.cs
- DecimalConstantAttribute.cs
- LoadedEvent.cs
- FixedBufferAttribute.cs
- ellipse.cs
- FileAuthorizationModule.cs
- basenumberconverter.cs
- EntitySetBaseCollection.cs
- SourceLineInfo.cs
- ReflectionUtil.cs
- _NestedSingleAsyncResult.cs
- Configuration.cs
- PrivilegedConfigurationManager.cs
- ExeContext.cs
- FilteredDataSetHelper.cs
- Matrix.cs