Code:
/ 4.0 / 4.0 / 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 { ////// /// 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
- Panel.cs
- PropertyGroupDescription.cs
- Preprocessor.cs
- mediaclock.cs
- QuerySettings.cs
- GraphicsPathIterator.cs
- FixedSOMFixedBlock.cs
- Run.cs
- PathSegment.cs
- DbRetry.cs
- _AutoWebProxyScriptHelper.cs
- Token.cs
- QueryRelOp.cs
- BCryptHashAlgorithm.cs
- BrowserCapabilitiesFactoryBase.cs
- CompilerInfo.cs
- BeginGetFileNameFromUserRequest.cs
- XPathPatternParser.cs
- RowToParametersTransformer.cs
- SQLUtility.cs
- CodePrimitiveExpression.cs
- Shape.cs
- Vector3D.cs
- MachineKeySection.cs
- InstanceHandle.cs
- CodeDomSerializerException.cs
- CompositeKey.cs
- TriggerBase.cs
- QilSortKey.cs
- BrowserCapabilitiesFactory.cs
- EastAsianLunisolarCalendar.cs
- NonBatchDirectoryCompiler.cs
- PostBackOptions.cs
- MarkupCompilePass1.cs
- MenuItem.cs
- SpecialNameAttribute.cs
- GlobalizationAssembly.cs
- ViewgenContext.cs
- OdbcParameter.cs
- ComplexTypeEmitter.cs
- DynamicUpdateCommand.cs
- ClockController.cs
- AppDomainUnloadedException.cs
- IOException.cs
- CompareValidator.cs
- TypedTableHandler.cs
- RenderDataDrawingContext.cs
- GenericUriParser.cs
- InvalidOperationException.cs
- WebPartExportVerb.cs
- SkinBuilder.cs
- followingsibling.cs
- RichTextBoxConstants.cs
- DesignTimeData.cs
- WindowsPen.cs
- RegisteredArrayDeclaration.cs
- SqlCacheDependencyDatabase.cs
- QueryCursorEventArgs.cs
- GenericTypeParameterBuilder.cs
- CalculatedColumn.cs
- TextBoxAutomationPeer.cs
- IsolatedStorageFile.cs
- StrongNameIdentityPermission.cs
- CssClassPropertyAttribute.cs
- TabItemWrapperAutomationPeer.cs
- DbDataSourceEnumerator.cs
- SiteOfOriginPart.cs
- ScrollableControl.cs
- TimeSpanConverter.cs
- OleDbRowUpdatedEvent.cs
- DataTransferEventArgs.cs
- ConstraintStruct.cs
- TaskFileService.cs
- RowVisual.cs
- XmlEntityReference.cs
- QueueProcessor.cs
- SessionParameter.cs
- GeneratedContractType.cs
- ConvertEvent.cs
- XmlChildNodes.cs
- ConsoleCancelEventArgs.cs
- InheritedPropertyChangedEventArgs.cs
- securitycriticaldata.cs
- AttributeAction.cs
- AdPostCacheSubstitution.cs
- CqlWriter.cs
- SendKeys.cs
- ToolboxCategory.cs
- PropertyValueChangedEvent.cs
- RuleSetBrowserDialog.cs
- WebServiceReceive.cs
- XmlSchemaChoice.cs
- sqlmetadatafactory.cs
- FormViewActionList.cs
- Focus.cs
- SiteMapNodeItemEventArgs.cs
- TextServicesCompartment.cs
- ScopedKnownTypes.cs
- SoapBinding.cs
- AppDomainManager.cs