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
- ResizeGrip.cs
- EditorZoneAutoFormat.cs
- HasCopySemanticsAttribute.cs
- ParenthesizePropertyNameAttribute.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- LinkTarget.cs
- TreeNodeStyle.cs
- MemberHolder.cs
- LifetimeServices.cs
- UIHelper.cs
- MediaContextNotificationWindow.cs
- BitHelper.cs
- DbReferenceCollection.cs
- ProfileParameter.cs
- LongTypeConverter.cs
- OptimizedTemplateContent.cs
- StylusTouchDevice.cs
- XmlnsDefinitionAttribute.cs
- Mappings.cs
- ParserStreamGeometryContext.cs
- CommandEventArgs.cs
- MemberAccessException.cs
- EventLogEntryCollection.cs
- ContentValidator.cs
- ScriptResourceInfo.cs
- EndpointIdentity.cs
- TemplateAction.cs
- WebReferencesBuildProvider.cs
- CollectionType.cs
- ReflectionUtil.cs
- SqlUtils.cs
- XmlUrlResolver.cs
- BevelBitmapEffect.cs
- TemplateField.cs
- ServerProtocol.cs
- XmlImplementation.cs
- SimpleType.cs
- ChameleonKey.cs
- SmiEventStream.cs
- Wizard.cs
- OletxTransactionManager.cs
- XmlWrappingReader.cs
- EnglishPluralizationService.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- SurrogateEncoder.cs
- indexingfiltermarshaler.cs
- ObjectDataSourceFilteringEventArgs.cs
- FlowLayoutPanel.cs
- TextPatternIdentifiers.cs
- Border.cs
- AppSettingsExpressionBuilder.cs
- DataSourceControl.cs
- SymDocumentType.cs
- SystemIPInterfaceProperties.cs
- ObjectDataSourceFilteringEventArgs.cs
- XmlDataSourceNodeDescriptor.cs
- WebPartMenuStyle.cs
- TracedNativeMethods.cs
- SymbolType.cs
- PropertyChangingEventArgs.cs
- IDictionary.cs
- ConnectionPool.cs
- ObjectListField.cs
- TextTabProperties.cs
- WebPartCollection.cs
- GridViewAutomationPeer.cs
- BrushValueSerializer.cs
- EditorPartChrome.cs
- JavaScriptObjectDeserializer.cs
- Padding.cs
- SqlCharStream.cs
- XmlSchemaImporter.cs
- COM2PropertyBuilderUITypeEditor.cs
- BindingElementExtensionElement.cs
- BitFlagsGenerator.cs
- SHA512.cs
- TextViewElement.cs
- Transform3DCollection.cs
- CellParagraph.cs
- WinFormsSpinner.cs
- DataKeyArray.cs
- DataFormat.cs
- RightsManagementEncryptedStream.cs
- RectangleGeometry.cs
- ChannelDispatcher.cs
- Point3DCollection.cs
- ServiceOperationDetailViewControl.cs
- SynchronizationContext.cs
- ConfigurationProviderException.cs
- ServiceReference.cs
- HtmlShim.cs
- NavigateEvent.cs
- PropertyChangedEventArgs.cs
- Table.cs
- ObjectDataSourceChooseTypePanel.cs
- WbmpConverter.cs
- SoapReflectionImporter.cs
- Thumb.cs
- DateTimeOffsetStorage.cs
- ProfileGroupSettingsCollection.cs