//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ namespace System.Web.UI.WebControls { using System.Web.Security; 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; } } } }