Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TableLayoutStyleCollection.cs
- MergeFilterQuery.cs
- Size.cs
- LineInfo.cs
- Margins.cs
- PathFigureCollection.cs
- FlowPosition.cs
- ApplicationTrust.cs
- UrlMappingsSection.cs
- LogicalExpr.cs
- WindowsTooltip.cs
- PeerNearMe.cs
- XamlTypeMapper.cs
- DataGridLinkButton.cs
- BindableTemplateBuilder.cs
- DbLambda.cs
- RuleRef.cs
- Privilege.cs
- BaseValidator.cs
- CharEntityEncoderFallback.cs
- MarkupProperty.cs
- InternalConfigRoot.cs
- fixedPageContentExtractor.cs
- FilterException.cs
- SID.cs
- FrameworkTextComposition.cs
- RemoteWebConfigurationHostServer.cs
- ServiceDebugElement.cs
- SqlCaseSimplifier.cs
- ComponentEvent.cs
- MonikerBuilder.cs
- Regex.cs
- EraserBehavior.cs
- MultipleViewPattern.cs
- ConsumerConnectionPoint.cs
- GridViewPageEventArgs.cs
- TokenFactoryCredential.cs
- SqlParameter.cs
- SoapClientProtocol.cs
- LinqTreeNodeEvaluator.cs
- TextShapeableCharacters.cs
- SimpleExpression.cs
- DictionaryContent.cs
- DesignerValidatorAdapter.cs
- BufferModeSettings.cs
- MediaCommands.cs
- XamlReaderHelper.cs
- Errors.cs
- BaseTreeIterator.cs
- ObjectStateFormatter.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- XmlExpressionDumper.cs
- RefExpr.cs
- IntSecurity.cs
- InkSerializer.cs
- TableCellAutomationPeer.cs
- PipelineModuleStepContainer.cs
- COM2ComponentEditor.cs
- DrawingContext.cs
- AsymmetricSignatureFormatter.cs
- BulletDecorator.cs
- ColorAnimationBase.cs
- SqlConnectionString.cs
- Fx.cs
- UDPClient.cs
- CellTreeNodeVisitors.cs
- SelectedGridItemChangedEvent.cs
- MarkerProperties.cs
- BitVector32.cs
- RIPEMD160Managed.cs
- ContainsSearchOperator.cs
- DataGridViewCellStateChangedEventArgs.cs
- FixedNode.cs
- RequestTimeoutManager.cs
- DataListGeneralPage.cs
- UIAgentAsyncEndRequest.cs
- TabItem.cs
- NameValueConfigurationCollection.cs
- LingerOption.cs
- XhtmlBasicLabelAdapter.cs
- HijriCalendar.cs
- AlgoModule.cs
- ArrangedElementCollection.cs
- DesignBindingPicker.cs
- TableLayoutStyleCollection.cs
- Stacktrace.cs
- SimpleModelProvider.cs
- MailDefinition.cs
- CategoryEditor.cs
- UserControlCodeDomTreeGenerator.cs
- autovalidator.cs
- WorkflowApplicationTerminatedException.cs
- OperationResponse.cs
- StateBag.cs
- If.cs
- OpenFileDialog.cs
- ClientSideQueueItem.cs
- RuntimeEnvironment.cs
- XmlSchemaType.cs
- CounterSample.cs