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
- InputLangChangeRequestEvent.cs
- ServerIdentity.cs
- DefaultValidator.cs
- ListCollectionView.cs
- JsonWriter.cs
- oledbmetadatacollectionnames.cs
- FileVersionInfo.cs
- ExtendedProperty.cs
- FontFamilyConverter.cs
- MSAAEventDispatcher.cs
- ListSourceHelper.cs
- NumericUpDown.cs
- MsmqInputMessage.cs
- InkCanvas.cs
- codemethodreferenceexpression.cs
- ValidationRuleCollection.cs
- DataDocumentXPathNavigator.cs
- GridToolTip.cs
- DataGridViewTopLeftHeaderCell.cs
- CodeTypeDelegate.cs
- WebPartPersonalization.cs
- PanelDesigner.cs
- UriSection.cs
- DeleteMemberBinder.cs
- SymbolDocumentInfo.cs
- CodeGenerator.cs
- OracleEncoding.cs
- Base64Encoder.cs
- IndexOutOfRangeException.cs
- MessageQueueInstaller.cs
- ServiceNameElementCollection.cs
- MsmqOutputChannel.cs
- FloaterBaseParagraph.cs
- InstanceDataCollection.cs
- RemotingSurrogateSelector.cs
- RecordBuilder.cs
- CharConverter.cs
- HttpCookiesSection.cs
- CapabilitiesRule.cs
- OuterProxyWrapper.cs
- ipaddressinformationcollection.cs
- XmlQueryContext.cs
- Type.cs
- DbConnectionClosed.cs
- BindableAttribute.cs
- StretchValidation.cs
- CodeNamespaceCollection.cs
- UriExt.cs
- LinkConverter.cs
- BlurBitmapEffect.cs
- ExceptionWrapper.cs
- RegisteredExpandoAttribute.cs
- HttpChannelFactory.cs
- BuildProviderCollection.cs
- FixedTextContainer.cs
- MediaTimeline.cs
- SchemaElementDecl.cs
- DataSourceCache.cs
- StylusButtonEventArgs.cs
- TextContainer.cs
- SharedDp.cs
- CheckPair.cs
- CharacterBufferReference.cs
- MediaSystem.cs
- PrimaryKeyTypeConverter.cs
- TreeView.cs
- DateTimeFormatInfoScanner.cs
- StringCollectionEditor.cs
- StatusBarPanelClickEvent.cs
- AccessDataSource.cs
- SourceItem.cs
- BoolExpressionVisitors.cs
- ToolStripHighContrastRenderer.cs
- NameValueConfigurationElement.cs
- XmlUnspecifiedAttribute.cs
- TypeDescriptor.cs
- ChannelManager.cs
- TemplateComponentConnector.cs
- ToolStripSeparatorRenderEventArgs.cs
- ComponentDispatcherThread.cs
- SimpleTypeResolver.cs
- Label.cs
- AnnotationResourceChangedEventArgs.cs
- ControlCachePolicy.cs
- SectionXmlInfo.cs
- SqlCachedBuffer.cs
- QueryStringConverter.cs
- WindowsRichEditRange.cs
- LocatorGroup.cs
- DBBindings.cs
- InfoCardService.cs
- DataServiceQueryOfT.cs
- XmlNamespaceManager.cs
- FileUpload.cs
- CollectionChangedEventManager.cs
- XmlNode.cs
- OuterGlowBitmapEffect.cs
- SqlRemoveConstantOrderBy.cs
- ReachVisualSerializer.cs
- DataServiceQuery.cs