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
- PlainXmlDeserializer.cs
- ExtensionsSection.cs
- SqlFunctionAttribute.cs
- BinaryUtilClasses.cs
- controlskin.cs
- HiddenField.cs
- SuppressIldasmAttribute.cs
- XsltConvert.cs
- ReceiveActivity.cs
- UnhandledExceptionEventArgs.cs
- SafeProcessHandle.cs
- SiteMapDataSource.cs
- WebBrowserEvent.cs
- ListCollectionView.cs
- AccessibleObject.cs
- _LoggingObject.cs
- WindowsListViewGroupHelper.cs
- SrgsDocumentParser.cs
- RoutedUICommand.cs
- CryptographicAttribute.cs
- ExpressionBinding.cs
- BookmarkScopeHandle.cs
- XmlSchemaSimpleTypeList.cs
- MessageAction.cs
- BitStack.cs
- ColorKeyFrameCollection.cs
- HttpContext.cs
- ActivityDesignerResources.cs
- XPathNavigatorKeyComparer.cs
- PingOptions.cs
- DockingAttribute.cs
- Object.cs
- UnsafeNativeMethodsTablet.cs
- PrintDialogException.cs
- MethodBody.cs
- ChannelCacheSettings.cs
- ScriptingScriptResourceHandlerSection.cs
- CommunicationException.cs
- AssemblyBuilder.cs
- DefaultValueTypeConverter.cs
- ScriptRegistrationManager.cs
- SQLInt64.cs
- DllNotFoundException.cs
- BooleanAnimationUsingKeyFrames.cs
- BufferedReadStream.cs
- CacheVirtualItemsEvent.cs
- DataGridColumnFloatingHeader.cs
- LassoSelectionBehavior.cs
- SharedPerformanceCounter.cs
- SourceInterpreter.cs
- DataGridLinkButton.cs
- XmlArrayAttribute.cs
- CharStorage.cs
- SQLDateTimeStorage.cs
- HttpModulesSection.cs
- SizeChangedEventArgs.cs
- EntityContainerEmitter.cs
- HttpDebugHandler.cs
- Socket.cs
- DPCustomTypeDescriptor.cs
- DateTimeUtil.cs
- HttpsTransportBindingElement.cs
- RelationshipWrapper.cs
- Rect3DConverter.cs
- StringDictionaryEditor.cs
- SqlUserDefinedTypeAttribute.cs
- ProjectionAnalyzer.cs
- GridViewRowEventArgs.cs
- PageBuildProvider.cs
- DateTimeFormatInfo.cs
- PrintDialog.cs
- SplineKeyFrames.cs
- GC.cs
- ProfileManager.cs
- FixedSOMImage.cs
- TableCell.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- XmlWrappingReader.cs
- FontSourceCollection.cs
- TransformPatternIdentifiers.cs
- GetPageCompletedEventArgs.cs
- GifBitmapEncoder.cs
- MemberCollection.cs
- DecimalAnimationUsingKeyFrames.cs
- TabControl.cs
- ColorAnimation.cs
- SystemTcpStatistics.cs
- externdll.cs
- PathNode.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- ExpressionEditorAttribute.cs
- TypeResolver.cs
- InternalUserCancelledException.cs
- Activity.cs
- TryExpression.cs
- TrustManager.cs
- AppDomainGrammarProxy.cs
- cache.cs
- InvokeGenerator.cs
- HashJoinQueryOperatorEnumerator.cs