Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NestedContainer.cs
- RealizationDrawingContextWalker.cs
- BuildManager.cs
- userdatakeys.cs
- Trigger.cs
- AlphabeticalEnumConverter.cs
- OleDbEnumerator.cs
- FusionWrap.cs
- Int32AnimationUsingKeyFrames.cs
- ClientProxyGenerator.cs
- XmlDocument.cs
- DispatcherEventArgs.cs
- ExpressionBuilderCollection.cs
- Schedule.cs
- SharedConnectionInfo.cs
- MemberListBinding.cs
- TextProviderWrapper.cs
- MenuEventArgs.cs
- FormatterConverter.cs
- TraceContext.cs
- StartFileNameEditor.cs
- UnrecognizedAssertionsBindingElement.cs
- TextTreeUndo.cs
- Automation.cs
- XPathQueryGenerator.cs
- TagElement.cs
- PartialTrustVisibleAssembliesSection.cs
- NullableIntMinMaxAggregationOperator.cs
- ProcessThreadCollection.cs
- CssClassPropertyAttribute.cs
- FillBehavior.cs
- WebPartConnectionsConnectVerb.cs
- StringCollection.cs
- Timer.cs
- Token.cs
- PaperSize.cs
- BoundingRectTracker.cs
- ButtonRenderer.cs
- HostingPreferredMapPath.cs
- TemplateApplicationHelper.cs
- BrowserCapabilitiesCodeGenerator.cs
- ToolboxComponentsCreatingEventArgs.cs
- ScriptMethodAttribute.cs
- dataSvcMapFileLoader.cs
- ObjectContext.cs
- ItemCheckEvent.cs
- WindowsSpinner.cs
- _SslState.cs
- XamlStream.cs
- RtfToken.cs
- AlternateView.cs
- MsmqReceiveHelper.cs
- ListControl.cs
- ExtendedPropertyCollection.cs
- GridSplitter.cs
- SymbolType.cs
- WeakHashtable.cs
- CodeMethodInvokeExpression.cs
- DefaultClaimSet.cs
- FlagsAttribute.cs
- DataGridTablesFactory.cs
- SiteMembershipCondition.cs
- OrderPreservingPipeliningMergeHelper.cs
- SecurityTokenSerializer.cs
- BuildResultCache.cs
- FlagsAttribute.cs
- PersonalizationProviderHelper.cs
- StandardBindingElementCollection.cs
- URLString.cs
- ListItemConverter.cs
- DetailsViewUpdatedEventArgs.cs
- NativeMethodsOther.cs
- BinaryObjectInfo.cs
- EntityDataSourceDesigner.cs
- DataGridViewRowCollection.cs
- Automation.cs
- LinkArea.cs
- XPathScanner.cs
- BackgroundWorker.cs
- AmbientValueAttribute.cs
- HttpCookieCollection.cs
- LogEntrySerializationException.cs
- FormViewCommandEventArgs.cs
- TextContainerChangedEventArgs.cs
- KeyboardDevice.cs
- ApplicationServiceHelper.cs
- ListBoxChrome.cs
- FontFamily.cs
- ListControlBoundActionList.cs
- XmlMtomReader.cs
- _AcceptOverlappedAsyncResult.cs
- AssemblyAttributes.cs
- RenamedEventArgs.cs
- MSAAEventDispatcher.cs
- OdbcException.cs
- JsonWriterDelegator.cs
- XsltFunctions.cs
- HostProtectionPermission.cs
- DrawingCollection.cs
- TableHeaderCell.cs