Code:
/ 4.0 / 4.0 / untmp / 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 {
///
///
/// 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CustomErrorCollection.cs
- MailMessageEventArgs.cs
- BordersPage.cs
- dataSvcMapFileLoader.cs
- XmlDataCollection.cs
- VectorValueSerializer.cs
- ServiceHostingEnvironment.cs
- WebControlAdapter.cs
- Storyboard.cs
- ButtonBaseAdapter.cs
- SharedUtils.cs
- TextEndOfParagraph.cs
- odbcmetadatacolumnnames.cs
- SecurityCriticalDataForSet.cs
- ProfileGroupSettings.cs
- DbConnectionClosed.cs
- WebPartUserCapability.cs
- HttpCookie.cs
- Int16Animation.cs
- QuaternionAnimation.cs
- ConstraintCollection.cs
- HttpHandlersSection.cs
- StorageAssociationSetMapping.cs
- CodeDirectoryCompiler.cs
- HtmlTernaryTree.cs
- AutomationEventArgs.cs
- XsltLoader.cs
- Compiler.cs
- SchemaTypeEmitter.cs
- DesignerTransaction.cs
- ChineseLunisolarCalendar.cs
- ADMembershipUser.cs
- BindingManagerDataErrorEventArgs.cs
- CodeAccessSecurityEngine.cs
- DBParameter.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- MessageHeaderException.cs
- XmlSchemaAttribute.cs
- SecurityHelper.cs
- XmlQualifiedName.cs
- SimpleHandlerBuildProvider.cs
- IImplicitResourceProvider.cs
- LocationUpdates.cs
- SerTrace.cs
- TextMarkerSource.cs
- SizeF.cs
- StylusPointProperties.cs
- TableItemPattern.cs
- MultiPageTextView.cs
- FunctionImportElement.cs
- DynamicILGenerator.cs
- DataGridViewSelectedRowCollection.cs
- SmtpFailedRecipientException.cs
- ScriptResourceInfo.cs
- XPathDescendantIterator.cs
- CachedCompositeFamily.cs
- DocumentViewer.cs
- SmtpClient.cs
- ExpressionWriter.cs
- SystemThemeKey.cs
- ConfigXmlDocument.cs
- DataFormat.cs
- TreeNode.cs
- PathNode.cs
- AsyncCallback.cs
- FormatterServices.cs
- XmlSchemaProviderAttribute.cs
- NamedPipeTransportBindingElement.cs
- QueuePropertyVariants.cs
- CheckedListBox.cs
- HashAlgorithm.cs
- ZipPackage.cs
- PageRequestManager.cs
- FormParameter.cs
- TraceUtils.cs
- TypeSource.cs
- XmlSerializationGeneratedCode.cs
- PkcsUtils.cs
- SoapHeaderException.cs
- Rijndael.cs
- BufferedGenericXmlSecurityToken.cs
- Point3DAnimationUsingKeyFrames.cs
- GregorianCalendar.cs
- UIEndRequest.cs
- ELinqQueryState.cs
- MgmtResManager.cs
- MemberHolder.cs
- EmbeddedMailObjectsCollection.cs
- DynamicField.cs
- PageAsyncTaskManager.cs
- ConfigurationErrorsException.cs
- ToolStripDropDownMenu.cs
- VBIdentifierNameEditor.cs
- TypeResolver.cs
- DataGridViewCheckBoxColumn.cs
- FileSystemWatcher.cs
- LongTypeConverter.cs
- SchemaImporter.cs
- BevelBitmapEffect.cs
- UnicodeEncoding.cs