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
- EmptyCollection.cs
- AdapterUtil.cs
- KeyValueConfigurationElement.cs
- ClientSideProviderDescription.cs
- WebPartDescription.cs
- CanonicalizationDriver.cs
- SequenceDesignerAccessibleObject.cs
- XmlWrappingReader.cs
- DataGridViewCellLinkedList.cs
- SqlReferenceCollection.cs
- UrlMappingCollection.cs
- ManifestResourceInfo.cs
- PassportAuthentication.cs
- RuntimeResourceSet.cs
- ColumnHeaderCollectionEditor.cs
- InheritedPropertyDescriptor.cs
- SqlBuilder.cs
- EditorPartCollection.cs
- HtmlTableCell.cs
- ItemContainerGenerator.cs
- externdll.cs
- ExpressionNode.cs
- NameValueConfigurationCollection.cs
- DebugHandleTracker.cs
- DecoderNLS.cs
- SqlDataSourceStatusEventArgs.cs
- Module.cs
- DesignerDeviceConfig.cs
- ComPlusSynchronizationContext.cs
- UnmanagedMemoryAccessor.cs
- BooleanKeyFrameCollection.cs
- Vector3DConverter.cs
- ModifierKeysValueSerializer.cs
- FamilyMapCollection.cs
- ClientBuildManager.cs
- DataServiceResponse.cs
- MdiWindowListItemConverter.cs
- RewritingValidator.cs
- AddIn.cs
- PrintPreviewDialog.cs
- SapiAttributeParser.cs
- SchemaImporter.cs
- DoubleAnimationBase.cs
- BypassElement.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- XmlDeclaration.cs
- SBCSCodePageEncoding.cs
- Properties.cs
- SymbolType.cs
- Graphics.cs
- XmlSchemaExporter.cs
- WaitForChangedResult.cs
- FixedSOMFixedBlock.cs
- HtmlFormWrapper.cs
- ActivationWorker.cs
- RandomNumberGenerator.cs
- ObjectViewQueryResultData.cs
- XpsFilter.cs
- PasswordDeriveBytes.cs
- NavigationProperty.cs
- DataObject.cs
- DataGridColumnCollection.cs
- OpCellTreeNode.cs
- FixedSOMTableCell.cs
- ChildrenQuery.cs
- SpAudioStreamWrapper.cs
- SqlDataAdapter.cs
- BookmarkOptionsHelper.cs
- LicenseManager.cs
- SchemaElementLookUpTable.cs
- XmlSchemaAnnotation.cs
- ListBoxAutomationPeer.cs
- SemanticResultValue.cs
- ElementNotEnabledException.cs
- ReadOnlyHierarchicalDataSource.cs
- TextTreeText.cs
- Cursors.cs
- SqlDataSourceSummaryPanel.cs
- DateBoldEvent.cs
- HandlerBase.cs
- Registry.cs
- TraceLevelHelper.cs
- _UriTypeConverter.cs
- CodeObjectCreateExpression.cs
- ColumnReorderedEventArgs.cs
- Int32.cs
- BrowserTree.cs
- ProofTokenCryptoHandle.cs
- TaskFormBase.cs
- followingsibling.cs
- Int64Converter.cs
- CollectionAdapters.cs
- ListenerAdapter.cs
- ValidationSummary.cs
- AdornerDecorator.cs
- BamlLocalizabilityResolver.cs
- graph.cs
- ITreeGenerator.cs
- NativeMethods.cs
- FormViewInsertEventArgs.cs