Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebControls / SendMailErrorEventArgs.cs / 1 / SendMailErrorEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System.Web.Security; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class SendMailErrorEventArgs : EventArgs { private Exception _exception; private bool _handled = false; public SendMailErrorEventArgs(Exception e) { _exception = e; } ////// Gets or sets the exception which caused the failure /// public Exception Exception { get { return _exception; } set { _exception = value; } } ////// Gets or sets whether the error has been handled /// public bool Handled { get { return _handled; } set { _handled = value; } } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GridViewEditEventArgs.cs
- CollectionMarkupSerializer.cs
- BindingManagerDataErrorEventArgs.cs
- GridViewItemAutomationPeer.cs
- StorageAssociationTypeMapping.cs
- Transform3DCollection.cs
- CompositionAdorner.cs
- DispatcherTimer.cs
- ScrollPattern.cs
- MatcherBuilder.cs
- DetailsViewModeEventArgs.cs
- IISUnsafeMethods.cs
- SortKey.cs
- DesignerSerializationVisibilityAttribute.cs
- ObjectSelectorEditor.cs
- MultipartContentParser.cs
- DictionarySectionHandler.cs
- CalendarDataBindingHandler.cs
- FontFaceLayoutInfo.cs
- FacetEnabledSchemaElement.cs
- TextDecorationCollection.cs
- AdornerLayer.cs
- Page.cs
- TypeElement.cs
- EnterpriseServicesHelper.cs
- DefaultHttpHandler.cs
- CallbackValidatorAttribute.cs
- DeploymentSection.cs
- SystemResources.cs
- SerialErrors.cs
- XmlSchemaAnyAttribute.cs
- AssociationTypeEmitter.cs
- _Win32.cs
- DecimalFormatter.cs
- Environment.cs
- RegexParser.cs
- RoutedEventArgs.cs
- ImageCodecInfoPrivate.cs
- OracleCommand.cs
- XDRSchema.cs
- CounterSample.cs
- WindowsRegion.cs
- OleDbConnectionInternal.cs
- Perspective.cs
- RemotingSurrogateSelector.cs
- Speller.cs
- ColumnMapTranslator.cs
- LongSumAggregationOperator.cs
- XPathNavigator.cs
- HtmlElementEventArgs.cs
- DataGridViewAdvancedBorderStyle.cs
- MailHeaderInfo.cs
- HttpCachePolicyWrapper.cs
- DBSqlParserColumn.cs
- XmlCountingReader.cs
- ReferentialConstraint.cs
- BreakRecordTable.cs
- ImageCollectionEditor.cs
- FormViewAutoFormat.cs
- ChtmlSelectionListAdapter.cs
- OracleParameter.cs
- EventToken.cs
- CodeIndexerExpression.cs
- AuthenticatedStream.cs
- FixUp.cs
- PagedControl.cs
- AnonymousIdentificationSection.cs
- AuthorizationRule.cs
- OracleTimeSpan.cs
- Border.cs
- ProviderMetadataCachedInformation.cs
- CacheVirtualItemsEvent.cs
- SHA1.cs
- ContextProperty.cs
- IndexOutOfRangeException.cs
- ActivationServices.cs
- DrawingVisual.cs
- ComponentChangedEvent.cs
- BindingList.cs
- SafeCryptoHandles.cs
- RenderContext.cs
- SiteMapHierarchicalDataSourceView.cs
- CompModSwitches.cs
- Image.cs
- MinMaxParagraphWidth.cs
- EntityDataSource.cs
- IntSecurity.cs
- XmlWellformedWriterHelpers.cs
- UpdateCommand.cs
- ImportContext.cs
- ServiceRouteHandler.cs
- ACE.cs
- AppDomainFactory.cs
- _Semaphore.cs
- AspCompat.cs
- Model3DCollection.cs
- TextSerializer.cs
- TextProperties.cs
- OleDbRowUpdatingEvent.cs
- TypeDescriptionProviderAttribute.cs