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
- WorkflowHostingResponseContext.cs
- ManagementObjectSearcher.cs
- SmiRequestExecutor.cs
- PatternMatcher.cs
- ListItem.cs
- SoundPlayer.cs
- DbProviderManifest.cs
- VariableDesigner.xaml.cs
- RectangleHotSpot.cs
- ScriptResourceHandler.cs
- BindMarkupExtensionSerializer.cs
- DictionaryContent.cs
- MarginsConverter.cs
- SqlDataSourceConfigureSortForm.cs
- TextServicesLoader.cs
- FileCodeGroup.cs
- XmlArrayItemAttribute.cs
- PermissionSetEnumerator.cs
- EncodingDataItem.cs
- Int32Animation.cs
- XsltOutput.cs
- XmlNodeList.cs
- RemoteWebConfigurationHostServer.cs
- GrammarBuilder.cs
- SimpleApplicationHost.cs
- SoapExtensionImporter.cs
- Preprocessor.cs
- StrokeNode.cs
- ReadContentAsBinaryHelper.cs
- XmlReader.cs
- OpenTypeLayout.cs
- NativeRightsManagementAPIsStructures.cs
- InstanceHandle.cs
- CheckBoxField.cs
- TemplateNameScope.cs
- NoResizeHandleGlyph.cs
- DelayedRegex.cs
- DataGridCommandEventArgs.cs
- TreeViewHitTestInfo.cs
- StringTraceRecord.cs
- MobileControlDesigner.cs
- SyndicationDeserializer.cs
- ImageMetadata.cs
- AcceleratedTokenProvider.cs
- Sentence.cs
- ObjectQueryExecutionPlan.cs
- HtmlControlPersistable.cs
- XamlWriter.cs
- FontUnit.cs
- PartitionedStream.cs
- HiddenFieldPageStatePersister.cs
- PrinterResolution.cs
- ResolvedKeyFrameEntry.cs
- SafeNativeMethods.cs
- MediaContext.cs
- DbException.cs
- HTMLTagNameToTypeMapper.cs
- EventLevel.cs
- ControlPropertyNameConverter.cs
- UnsafeNativeMethods.cs
- IFormattable.cs
- Win32Interop.cs
- ArrayElementGridEntry.cs
- Vector3D.cs
- LocatorPartList.cs
- DbDataSourceEnumerator.cs
- UTF32Encoding.cs
- DataFormats.cs
- GreenMethods.cs
- QilGenerator.cs
- cookieexception.cs
- DayRenderEvent.cs
- ImageMap.cs
- Int64AnimationBase.cs
- ListCollectionView.cs
- FilteredReadOnlyMetadataCollection.cs
- DbConnectionPoolIdentity.cs
- ContainerSelectorActiveEvent.cs
- ErrorWebPart.cs
- GeneralTransform3DCollection.cs
- WaitForChangedResult.cs
- ToolStripGrip.cs
- FormClosedEvent.cs
- hebrewshape.cs
- FtpWebRequest.cs
- PropertyContainer.cs
- AppDomainUnloadedException.cs
- SchemaCollectionCompiler.cs
- SQLMembershipProvider.cs
- SoapSchemaImporter.cs
- LogicalTreeHelper.cs
- BinaryFormatterSinks.cs
- ContainerParaClient.cs
- CorruptingExceptionCommon.cs
- _KerberosClient.cs
- CodeRemoveEventStatement.cs
- X500Name.cs
- PathNode.cs
- LiteralLink.cs
- FixedSOMPageConstructor.cs