Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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 { ////// /// 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
- BypassElement.cs
- TreeViewEvent.cs
- Wildcard.cs
- SqlConnectionPoolProviderInfo.cs
- FormViewCommandEventArgs.cs
- FontUnit.cs
- FrameworkTemplate.cs
- DummyDataSource.cs
- Reference.cs
- TableAutomationPeer.cs
- CapabilitiesUse.cs
- ObjectViewQueryResultData.cs
- Adorner.cs
- LongValidatorAttribute.cs
- _FtpControlStream.cs
- FocusChangedEventArgs.cs
- LambdaCompiler.Binary.cs
- RedBlackList.cs
- LinqDataSourceHelper.cs
- InheritedPropertyChangedEventArgs.cs
- SplashScreenNativeMethods.cs
- SqlRecordBuffer.cs
- CompoundFileDeflateTransform.cs
- RepeatButton.cs
- DynamicActionMessageFilter.cs
- SafeRightsManagementSessionHandle.cs
- PixelShader.cs
- HMACSHA512.cs
- SystemIPv6InterfaceProperties.cs
- InternalEnumValidatorAttribute.cs
- followingquery.cs
- CommittableTransaction.cs
- TableLayoutRowStyleCollection.cs
- WindowPattern.cs
- ContainerSelectorBehavior.cs
- ScrollableControl.cs
- CommandBindingCollection.cs
- SoapServerProtocol.cs
- ObjectResult.cs
- DataBoundControl.cs
- Error.cs
- Int64KeyFrameCollection.cs
- Canvas.cs
- indexingfiltermarshaler.cs
- GZipDecoder.cs
- CommandArguments.cs
- WorkflowServiceHostFactory.cs
- PropertyEntry.cs
- TreeNodeClickEventArgs.cs
- Boolean.cs
- ProcessManager.cs
- EventRecordWrittenEventArgs.cs
- ViewEventArgs.cs
- LeaseManager.cs
- ToolStripSettings.cs
- MenuItemCollection.cs
- OdbcConnectionPoolProviderInfo.cs
- DesignerCategoryAttribute.cs
- ToolStripItem.cs
- StrokeNodeEnumerator.cs
- DataKeyArray.cs
- InstalledFontCollection.cs
- LineBreakRecord.cs
- AlternationConverter.cs
- SqlVisitor.cs
- RootProfilePropertySettingsCollection.cs
- HitTestWithGeometryDrawingContextWalker.cs
- XmlNode.cs
- _AutoWebProxyScriptEngine.cs
- RowVisual.cs
- TextServicesDisplayAttribute.cs
- OracleCommandBuilder.cs
- MembershipUser.cs
- StrokeDescriptor.cs
- EditCommandColumn.cs
- XmlEncoding.cs
- GPRECTF.cs
- RangeBaseAutomationPeer.cs
- CodeStatementCollection.cs
- WeakReferenceList.cs
- MimeImporter.cs
- RootBrowserWindow.cs
- _SafeNetHandles.cs
- WmlTextBoxAdapter.cs
- EventProviderBase.cs
- Model3DGroup.cs
- MenuItemStyle.cs
- TypeGeneratedEventArgs.cs
- DataView.cs
- HtmlInputControl.cs
- LogRestartAreaEnumerator.cs
- RelationshipEndMember.cs
- Margins.cs
- XsltOutput.cs
- ColorTransformHelper.cs
- CngKeyBlobFormat.cs
- Group.cs
- Triplet.cs
- SchemaDeclBase.cs
- MarshalByRefObject.cs