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
- FeedUtils.cs
- WebEvents.cs
- SafeLibraryHandle.cs
- DragDeltaEventArgs.cs
- QueryReaderSettings.cs
- XsltInput.cs
- RangeBaseAutomationPeer.cs
- FileVersionInfo.cs
- ZoneIdentityPermission.cs
- FilterableAttribute.cs
- KeyConstraint.cs
- EventKeyword.cs
- XmlHierarchyData.cs
- BinHexEncoder.cs
- Model3D.cs
- XmlBinaryReader.cs
- WebBrowserDocumentCompletedEventHandler.cs
- RelationshipEndCollection.cs
- UseAttributeSetsAction.cs
- HeaderedItemsControl.cs
- ServiceOperationListItemList.cs
- WebPartZoneBase.cs
- CallSite.cs
- TypeEnumerableViewSchema.cs
- ObjectDataSourceView.cs
- StateBag.cs
- DesignTimeVisibleAttribute.cs
- StorageEntityContainerMapping.cs
- GridViewDeleteEventArgs.cs
- RawUIStateInputReport.cs
- AnnotationStore.cs
- PropertySegmentSerializationProvider.cs
- DatagridviewDisplayedBandsData.cs
- GB18030Encoding.cs
- TreeViewImageKeyConverter.cs
- BooleanFunctions.cs
- SpStreamWrapper.cs
- XPathNode.cs
- PageCodeDomTreeGenerator.cs
- MouseActionConverter.cs
- ToolStripDropDownClosedEventArgs.cs
- CoTaskMemHandle.cs
- WorkflowOwnerAsyncResult.cs
- PointAnimationBase.cs
- InlineCollection.cs
- HttpContextWrapper.cs
- Tool.cs
- UdpContractFilterBehavior.cs
- Unit.cs
- HttpRuntime.cs
- LocalizableResourceBuilder.cs
- AppSettingsReader.cs
- CodeAttributeDeclarationCollection.cs
- SQLCharsStorage.cs
- ReadOnlyNameValueCollection.cs
- IsolationInterop.cs
- PerspectiveCamera.cs
- EventRoute.cs
- CheckBox.cs
- ManagedWndProcTracker.cs
- PolygonHotSpot.cs
- PerformanceCounterNameAttribute.cs
- FamilyMapCollection.cs
- PriorityChain.cs
- CodeArgumentReferenceExpression.cs
- TypeConstant.cs
- GeometryModel3D.cs
- UnsafePeerToPeerMethods.cs
- MouseEventArgs.cs
- FixedBufferAttribute.cs
- ByteFacetDescriptionElement.cs
- Graph.cs
- SourceChangedEventArgs.cs
- DataGridViewLinkColumn.cs
- PrintDocument.cs
- AnimationException.cs
- EntityCommandDefinition.cs
- XmlElementAttribute.cs
- HttpListenerResponse.cs
- StrongNamePublicKeyBlob.cs
- sqlcontext.cs
- WindowPattern.cs
- TypeGeneratedEventArgs.cs
- XmlValidatingReaderImpl.cs
- UiaCoreApi.cs
- TemplatedControlDesigner.cs
- DrawingCollection.cs
- ReferencedAssembly.cs
- XmlLinkedNode.cs
- AttributeQuery.cs
- SID.cs
- ClusterRegistryConfigurationProvider.cs
- DataGridViewDataErrorEventArgs.cs
- SmtpDigestAuthenticationModule.cs
- DataServiceQueryProvider.cs
- StringReader.cs
- RelatedPropertyManager.cs
- HierarchicalDataBoundControlAdapter.cs
- CustomAttributeSerializer.cs
- OrderToken.cs