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
- XmlSchemaProviderAttribute.cs
- DesignerTransactionCloseEvent.cs
- ResourcePart.cs
- FixedSOMTableCell.cs
- ImageAttributes.cs
- GridItemProviderWrapper.cs
- SeekStoryboard.cs
- DefaultParameterValueAttribute.cs
- AnnotationStore.cs
- XmlAutoDetectWriter.cs
- FileVersionInfo.cs
- ZipIOFileItemStream.cs
- ThreadNeutralSemaphore.cs
- RequestQueue.cs
- XmlParserContext.cs
- ScriptingJsonSerializationSection.cs
- Line.cs
- Rotation3DAnimationBase.cs
- PropertyValueChangedEvent.cs
- CircleHotSpot.cs
- TrustManagerMoreInformation.cs
- TypeConvertions.cs
- ApplyTemplatesAction.cs
- HtmlInputRadioButton.cs
- ThumbAutomationPeer.cs
- Process.cs
- BaseResourcesBuildProvider.cs
- ActivityIdHeader.cs
- OverrideMode.cs
- FormatException.cs
- SqlUserDefinedAggregateAttribute.cs
- DbLambda.cs
- TypeLoadException.cs
- MultipleViewPattern.cs
- GenericEnumConverter.cs
- WebPartActionVerb.cs
- FileDialog_Vista.cs
- DefinitionBase.cs
- WebServiceHandlerFactory.cs
- ExpressionConverter.cs
- PropertyOverridesDialog.cs
- ContainerAction.cs
- X509ChainPolicy.cs
- CachingHintValidation.cs
- OrderByQueryOptionExpression.cs
- BamlBinaryReader.cs
- AutomationElement.cs
- SessionParameter.cs
- RoleGroupCollection.cs
- SamlDelegatingWriter.cs
- ResourceIDHelper.cs
- URL.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- ObjectDataSourceFilteringEventArgs.cs
- ClosableStream.cs
- ClientRuntimeConfig.cs
- BoolLiteral.cs
- DirectionalLight.cs
- FileDialogCustomPlaces.cs
- QueryConverter.cs
- XmlText.cs
- BitmapCacheBrush.cs
- Int32CAMarshaler.cs
- ReturnEventArgs.cs
- ClientRoleProvider.cs
- RequestSecurityTokenResponseCollection.cs
- _LazyAsyncResult.cs
- SolidColorBrush.cs
- ToolStripDropDownDesigner.cs
- XmlSchemaDocumentation.cs
- LabelExpression.cs
- HttpClientProtocol.cs
- BadImageFormatException.cs
- Material.cs
- LocalizabilityAttribute.cs
- GridViewRow.cs
- GridViewDeleteEventArgs.cs
- BitmapScalingModeValidation.cs
- DataGridViewSelectedColumnCollection.cs
- QueryExpr.cs
- DataFormats.cs
- ApplicationInfo.cs
- DataBindingCollection.cs
- PointCollection.cs
- AssemblyBuilder.cs
- Char.cs
- JsonFormatWriterGenerator.cs
- ServerValidateEventArgs.cs
- ListViewInsertedEventArgs.cs
- ModelPerspective.cs
- DashStyles.cs
- SystemNetHelpers.cs
- FlowDocumentReader.cs
- ScaleTransform.cs
- UIElementIsland.cs
- RegexRunnerFactory.cs
- FloatMinMaxAggregationOperator.cs
- QueryContinueDragEventArgs.cs
- SmtpException.cs
- ComplexLine.cs