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
- Style.cs
- OneOfConst.cs
- PackageRelationshipCollection.cs
- Int64Converter.cs
- ListDesigner.cs
- ProgressBarAutomationPeer.cs
- WindowsStatic.cs
- DesigntimeLicenseContext.cs
- MemberDescriptor.cs
- BodyGlyph.cs
- _TimerThread.cs
- ExpressionsCollectionEditor.cs
- SymmetricKeyWrap.cs
- SmiConnection.cs
- BindingSource.cs
- LoginName.cs
- HierarchicalDataBoundControlAdapter.cs
- UnsafeNativeMethods.cs
- XslException.cs
- InitialServerConnectionReader.cs
- TimeZone.cs
- EndOfStreamException.cs
- ReadWriteSpinLock.cs
- ScrollEvent.cs
- FrameworkReadOnlyPropertyMetadata.cs
- ContractHandle.cs
- EventProperty.cs
- TreeViewEvent.cs
- DrawTreeNodeEventArgs.cs
- Empty.cs
- LostFocusEventManager.cs
- QueryHandler.cs
- DesignerActionTextItem.cs
- DependencyPropertyChangedEventArgs.cs
- HashHelper.cs
- ZipIOExtraFieldPaddingElement.cs
- InputLangChangeRequestEvent.cs
- AutomationPatternInfo.cs
- TableDesigner.cs
- TableLayoutSettingsTypeConverter.cs
- IsolationInterop.cs
- ContextStaticAttribute.cs
- MatchAttribute.cs
- DeclarationUpdate.cs
- ExpressionBinding.cs
- QueryExpr.cs
- UserMapPath.cs
- StorageTypeMapping.cs
- IPCCacheManager.cs
- BindingMAnagerBase.cs
- MsmqIntegrationSecurity.cs
- ChannelServices.cs
- WindowsPrincipal.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ErasingStroke.cs
- XmlSchemaComplexContent.cs
- ResolvePPIDRequest.cs
- XmlWellformedWriter.cs
- TextShapeableCharacters.cs
- AspNetSynchronizationContext.cs
- DesignerAdRotatorAdapter.cs
- TabletDeviceInfo.cs
- Int32Animation.cs
- CodeArrayIndexerExpression.cs
- UrlMapping.cs
- WinEventHandler.cs
- RichTextBox.cs
- RichTextBox.cs
- AndCondition.cs
- SqlEnums.cs
- MediaContext.cs
- SmiRequestExecutor.cs
- StylusPointDescription.cs
- Point3D.cs
- TriggerBase.cs
- AdministrationHelpers.cs
- HebrewNumber.cs
- ToggleButton.cs
- QilScopedVisitor.cs
- DataRelationCollection.cs
- ToolStrip.cs
- AssemblyInfo.cs
- IntSumAggregationOperator.cs
- XamlWriter.cs
- SchemaImporterExtension.cs
- CheckBoxAutomationPeer.cs
- TypeConverterHelper.cs
- HandlerMappingMemo.cs
- PathFigure.cs
- MethodImplAttribute.cs
- XmlDocumentSerializer.cs
- CodeAttributeArgument.cs
- WS2007HttpBinding.cs
- SafeCoTaskMem.cs
- ChangeConflicts.cs
- PropertiesTab.cs
- ConfigurationSectionGroupCollection.cs
- ColorAnimationBase.cs
- RegexCapture.cs
- XsdDuration.cs