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
- VirtualDirectoryMapping.cs
- UIElementParagraph.cs
- HttpResponse.cs
- PointValueSerializer.cs
- LabelEditEvent.cs
- XslNumber.cs
- ImageInfo.cs
- TranslateTransform.cs
- NextPreviousPagerField.cs
- XXXInfos.cs
- WindowsImpersonationContext.cs
- cookiecollection.cs
- httpstaticobjectscollection.cs
- SelectedGridItemChangedEvent.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- DataGridAddNewRow.cs
- DbUpdateCommandTree.cs
- CodeNamespaceImport.cs
- MatrixTransform3D.cs
- EntityDataSourceStatementEditor.cs
- StructuredProperty.cs
- SQLBoolean.cs
- DataBindingList.cs
- XmlUtilWriter.cs
- CollectionBuilder.cs
- PageCodeDomTreeGenerator.cs
- MonitoringDescriptionAttribute.cs
- XsltContext.cs
- PageCodeDomTreeGenerator.cs
- LocalizedNameDescriptionPair.cs
- XmlEventCache.cs
- XmlIlTypeHelper.cs
- MediaScriptCommandRoutedEventArgs.cs
- TraceSource.cs
- ObjectListTitleAttribute.cs
- LateBoundBitmapDecoder.cs
- newinstructionaction.cs
- ComponentResourceManager.cs
- FieldAccessException.cs
- AtomPub10CategoriesDocumentFormatter.cs
- FileUpload.cs
- BitmapDecoder.cs
- TypeBuilder.cs
- Size3D.cs
- TemplateNameScope.cs
- OleDbParameterCollection.cs
- WaitHandleCannotBeOpenedException.cs
- ViewLoader.cs
- AutoSizeToolBoxItem.cs
- BoolExpr.cs
- DateTimeFormatInfo.cs
- EDesignUtil.cs
- BindingOperations.cs
- PeerApplication.cs
- Permission.cs
- QueryAccessibilityHelpEvent.cs
- ServiceAuthorizationManager.cs
- NonParentingControl.cs
- HtmlContainerControl.cs
- EventMappingSettings.cs
- XmlWrappingWriter.cs
- XPathDocumentNavigator.cs
- CompiledAction.cs
- ValidationErrorCollection.cs
- cookie.cs
- TemplatePartAttribute.cs
- PerformanceCounterManager.cs
- ReadWriteObjectLock.cs
- DockPattern.cs
- CustomErrorsSection.cs
- ProxyElement.cs
- Hash.cs
- InvalidOleVariantTypeException.cs
- NumberSubstitution.cs
- ClientScriptManager.cs
- CodeTypeParameterCollection.cs
- TypedCompletedAsyncResult.cs
- ThousandthOfEmRealPoints.cs
- EdmItemError.cs
- RelationshipDetailsCollection.cs
- NativeRightsManagementAPIsStructures.cs
- ValidationHelper.cs
- ThreadBehavior.cs
- DrawingVisualDrawingContext.cs
- HttpsHostedTransportConfiguration.cs
- ReplacementText.cs
- Converter.cs
- ToolboxComponentsCreatedEventArgs.cs
- ObjectToken.cs
- ArrayWithOffset.cs
- TagMapInfo.cs
- TaskFormBase.cs
- SqlMetaData.cs
- Table.cs
- StringToken.cs
- WsdlInspector.cs
- XmlTypeAttribute.cs
- translator.cs
- InstanceCreationEditor.cs
- DbQueryCommandTree.cs