Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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; } } } } // 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
- SQLString.cs
- CompilerState.cs
- OleDbTransaction.cs
- SqlCacheDependencyDatabase.cs
- MissingFieldException.cs
- CustomCredentialPolicy.cs
- ListView.cs
- DataBoundLiteralControl.cs
- PathFigure.cs
- RtfNavigator.cs
- SrgsOneOf.cs
- ParserContext.cs
- WorkflowMarkupSerializer.cs
- HighlightComponent.cs
- BitmapScalingModeValidation.cs
- XsltConvert.cs
- Soap12ServerProtocol.cs
- UpdatePanelTrigger.cs
- XPathBuilder.cs
- sqlpipe.cs
- LinqDataSourceHelper.cs
- NavigateUrlConverter.cs
- QueryAccessibilityHelpEvent.cs
- StrokeNode.cs
- ValueTypeFixupInfo.cs
- CompilerError.cs
- VisualState.cs
- XmlDataCollection.cs
- ParserExtension.cs
- lengthconverter.cs
- Subset.cs
- DataDocumentXPathNavigator.cs
- XmlSchemaDatatype.cs
- TextEncodedRawTextWriter.cs
- HttpSysSettings.cs
- Messages.cs
- HttpCapabilitiesEvaluator.cs
- TemplatedMailWebEventProvider.cs
- InstanceKey.cs
- WindowProviderWrapper.cs
- SapiRecoInterop.cs
- VirtualPath.cs
- ProfileServiceManager.cs
- XmlTextEncoder.cs
- BaseCodePageEncoding.cs
- FormViewDeletedEventArgs.cs
- Deflater.cs
- autovalidator.cs
- XmlSiteMapProvider.cs
- pingexception.cs
- SqlUserDefinedAggregateAttribute.cs
- ObjectNotFoundException.cs
- ViewBase.cs
- DiscardableAttribute.cs
- AssociationSet.cs
- XmlSchemaSimpleContentExtension.cs
- ParallelSeparator.xaml.cs
- TextBoxRenderer.cs
- GiveFeedbackEvent.cs
- BadImageFormatException.cs
- ConfigXmlComment.cs
- SignatureToken.cs
- TreeView.cs
- CodeDOMUtility.cs
- InkCanvasFeedbackAdorner.cs
- ModelVisual3D.cs
- TypeResolvingOptionsAttribute.cs
- EmptyControlCollection.cs
- AlignmentXValidation.cs
- DataSourceProvider.cs
- HeaderedItemsControl.cs
- TreeViewCancelEvent.cs
- HighlightVisual.cs
- NativeMethods.cs
- UnorderedHashRepartitionStream.cs
- XmlNodeWriter.cs
- EventLogPermissionAttribute.cs
- WebSysDefaultValueAttribute.cs
- DoubleConverter.cs
- CodeComment.cs
- DBCommand.cs
- BooleanConverter.cs
- SQLGuid.cs
- SingleAnimationUsingKeyFrames.cs
- RangeValidator.cs
- LogFlushAsyncResult.cs
- TCPClient.cs
- ClientTargetSection.cs
- CollectionType.cs
- CaseStatement.cs
- HtmlTextArea.cs
- LineGeometry.cs
- GridViewRowPresenter.cs
- BuildProviderAppliesToAttribute.cs
- TableItemPattern.cs
- IApplicationTrustManager.cs
- ReflectionTypeLoadException.cs
- SwitchLevelAttribute.cs
- SeekStoryboard.cs
- XmlNamespaceManager.cs