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
- Input.cs
- Literal.cs
- JoinCqlBlock.cs
- SqlDataReader.cs
- Int32EqualityComparer.cs
- DataDesignUtil.cs
- PropertyTabAttribute.cs
- Rotation3DKeyFrameCollection.cs
- Span.cs
- DebugInfoGenerator.cs
- ApplicationException.cs
- CompositeControl.cs
- Oci.cs
- PopOutPanel.cs
- ContentFileHelper.cs
- DrawingGroup.cs
- LocationReference.cs
- ErrorStyle.cs
- Equal.cs
- DocumentGridContextMenu.cs
- Tokenizer.cs
- TextProperties.cs
- userdatakeys.cs
- ExpanderAutomationPeer.cs
- DetailsViewCommandEventArgs.cs
- MarkupExtensionParser.cs
- odbcmetadatacollectionnames.cs
- HtmlTextArea.cs
- SmiRecordBuffer.cs
- HttpException.cs
- CryptoStream.cs
- StreamUpdate.cs
- PrePostDescendentsWalker.cs
- IgnoreFlushAndCloseStream.cs
- BitmapVisualManager.cs
- OleDbConnection.cs
- ActivityTypeResolver.xaml.cs
- ParallelQuery.cs
- ProfileSettingsCollection.cs
- GridSplitter.cs
- ImageBrush.cs
- WorkflowQueue.cs
- PromptBuilder.cs
- AnonymousIdentificationSection.cs
- ConnectivityStatus.cs
- NamedServiceModelExtensionCollectionElement.cs
- SafeLocalMemHandle.cs
- Relationship.cs
- WebEventTraceProvider.cs
- UrlAuthFailureHandler.cs
- MasterPageBuildProvider.cs
- Odbc32.cs
- PropVariant.cs
- UnknownBitmapEncoder.cs
- MimePart.cs
- FontConverter.cs
- HttpListener.cs
- StateMachine.cs
- ForEachAction.cs
- BrowserCapabilitiesCodeGenerator.cs
- DocumentSequence.cs
- WrappedIUnknown.cs
- ConfigurationManagerInternal.cs
- TranslateTransform.cs
- TableDetailsCollection.cs
- ComAdminWrapper.cs
- DataGridViewCellStateChangedEventArgs.cs
- DataControlField.cs
- NativeStructs.cs
- XmlUtilWriter.cs
- TemplateLookupAction.cs
- PropertyTabChangedEvent.cs
- DocumentApplicationJournalEntry.cs
- HtmlObjectListAdapter.cs
- QueryStoreStatusRequest.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- FormConverter.cs
- InputLanguageManager.cs
- ReaderOutput.cs
- Menu.cs
- SiteMapNodeItem.cs
- DbConnectionPoolGroupProviderInfo.cs
- Bitmap.cs
- DataGridViewLinkColumn.cs
- Tile.cs
- XappLauncher.cs
- DynamicRenderer.cs
- TrustLevel.cs
- Cursors.cs
- SqlDataAdapter.cs
- ImageSourceValueSerializer.cs
- BitHelper.cs
- SafeSecurityHandles.cs
- QueryCursorEventArgs.cs
- ContentPresenter.cs
- FontDriver.cs
- XmlUtf8RawTextWriter.cs
- _ShellExpression.cs
- EdmProperty.cs
- TextBox.cs