Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / Security / MembershipValidatePasswordEventArgs.cs / 1 / MembershipValidatePasswordEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
* ValidatePasswordEventArgs class
*
* Copyright (c) 1999 Microsoft Corporation
*/
namespace System.Web.Security
{
using System.Security.Permissions;
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public sealed class ValidatePasswordEventArgs : EventArgs
{
private string _userName;
private string _password;
private bool _isNewUser;
private bool _cancel;
private Exception _failureInformation;
public ValidatePasswordEventArgs(
string userName,
string password,
bool isNewUser )
{
_userName = userName;
_password = password;
_isNewUser = isNewUser;
_cancel = false;
}
public string UserName
{
get{ return _userName; }
}
public string Password
{
get{ return _password; }
}
public bool IsNewUser
{
get{ return _isNewUser; }
}
public bool Cancel
{
get{ return _cancel; }
set{ _cancel = value; }
}
public Exception FailureInformation
{
get{ return _failureInformation; }
set{ _failureInformation = value; }
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CheckBoxStandardAdapter.cs
- RegisteredArrayDeclaration.cs
- ChannelSinkStacks.cs
- XmlEncoding.cs
- XslException.cs
- ComponentEditorPage.cs
- SecureUICommand.cs
- OpenTypeCommon.cs
- FormattedTextSymbols.cs
- MarkupCompilePass2.cs
- NumberSubstitution.cs
- HtmlAnchor.cs
- DataServiceHost.cs
- SpellCheck.cs
- DetailsViewInsertedEventArgs.cs
- FontFamilyValueSerializer.cs
- Stream.cs
- GridView.cs
- RectConverter.cs
- UrlPropertyAttribute.cs
- XPathAxisIterator.cs
- SettingsPropertyNotFoundException.cs
- Vector3D.cs
- ScriptRef.cs
- QueuePropertyVariants.cs
- isolationinterop.cs
- TransformPatternIdentifiers.cs
- CodeValidator.cs
- TemplateColumn.cs
- WindowsImpersonationContext.cs
- GradientBrush.cs
- BrowserCapabilitiesCodeGenerator.cs
- SpellerInterop.cs
- RadioButton.cs
- SafeFileMapViewHandle.cs
- ThreadStaticAttribute.cs
- PrinterResolution.cs
- Substitution.cs
- IsolatedStorageFile.cs
- InternalTypeHelper.cs
- DataGridViewComponentPropertyGridSite.cs
- GiveFeedbackEventArgs.cs
- NullRuntimeConfig.cs
- LinkedResource.cs
- SettingsPropertyValueCollection.cs
- SecurityPermission.cs
- MenuEventArgs.cs
- SqlPersonalizationProvider.cs
- ContentPresenter.cs
- Main.cs
- SafeTokenHandle.cs
- OperatingSystem.cs
- EntityContainerAssociationSet.cs
- ModifierKeysConverter.cs
- FilteredAttributeCollection.cs
- FrameworkContentElement.cs
- NamedObjectList.cs
- HandleExceptionArgs.cs
- BaseCodeDomTreeGenerator.cs
- PropertyPath.cs
- UniqueIdentifierService.cs
- GrammarBuilderPhrase.cs
- ZipIOFileItemStream.cs
- InfoCardAsymmetricCrypto.cs
- Transform3DCollection.cs
- SqlCacheDependency.cs
- ItemContainerGenerator.cs
- RayMeshGeometry3DHitTestResult.cs
- DbDeleteCommandTree.cs
- OleDbRowUpdatingEvent.cs
- VariableAction.cs
- DES.cs
- NativeMethods.cs
- DtrList.cs
- VisualBasicHelper.cs
- AssociationTypeEmitter.cs
- AnchoredBlock.cs
- VBIdentifierDesigner.xaml.cs
- ApplicationBuildProvider.cs
- HwndSourceKeyboardInputSite.cs
- ListItemParagraph.cs
- GroupByExpressionRewriter.cs
- PathParser.cs
- AttributeCollection.cs
- OperationInvokerTrace.cs
- ProfessionalColorTable.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- ServiceBehaviorAttribute.cs
- LineMetrics.cs
- DataGridViewAdvancedBorderStyle.cs
- Line.cs
- ToolStripControlHost.cs
- XmlMessageFormatter.cs
- ChildTable.cs
- elementinformation.cs
- XhtmlBasicImageAdapter.cs
- StoreItemCollection.Loader.cs
- CardSpaceSelector.cs
- smtpconnection.cs
- HtmlInputCheckBox.cs