Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- WebPartDisplayModeEventArgs.cs
- ZipPackagePart.cs
- ColorAnimationUsingKeyFrames.cs
- XmlFormatReaderGenerator.cs
- ExtractorMetadata.cs
- ErrorWrapper.cs
- Point3DCollection.cs
- ToolStripHighContrastRenderer.cs
- ErrorStyle.cs
- PenThreadWorker.cs
- ParamArrayAttribute.cs
- EventManager.cs
- Main.cs
- XPathNavigatorReader.cs
- DeadCharTextComposition.cs
- Compiler.cs
- RegisteredExpandoAttribute.cs
- PointCollection.cs
- SqlDataReaderSmi.cs
- TextEffect.cs
- PersianCalendar.cs
- ContentType.cs
- WindowCollection.cs
- PrintControllerWithStatusDialog.cs
- AnnotationResourceCollection.cs
- FixedSOMFixedBlock.cs
- PointCollection.cs
- ProvidePropertyAttribute.cs
- CallContext.cs
- GridViewRowEventArgs.cs
- MetadataItemSerializer.cs
- ReachPageContentSerializer.cs
- Control.cs
- BitmapFrameDecode.cs
- DispatcherHookEventArgs.cs
- MissingManifestResourceException.cs
- ItemCollection.cs
- MasterPage.cs
- StrongNameIdentityPermission.cs
- ControlUtil.cs
- RootAction.cs
- CannotUnloadAppDomainException.cs
- UserPersonalizationStateInfo.cs
- BCryptNative.cs
- FormattedText.cs
- Sql8ExpressionRewriter.cs
- SerializerWriterEventHandlers.cs
- CodeBinaryOperatorExpression.cs
- InternalConfigRoot.cs
- DispatcherProcessingDisabled.cs
- QueryExecutionOption.cs
- SystemWebExtensionsSectionGroup.cs
- AddInEnvironment.cs
- RemotingSurrogateSelector.cs
- UIElement3D.cs
- altserialization.cs
- SettingsBase.cs
- HostedImpersonationContext.cs
- DbProviderManifest.cs
- SelectionEditingBehavior.cs
- PackagePartCollection.cs
- OleDbPermission.cs
- NameSpaceEvent.cs
- PageAdapter.cs
- WindowsBrush.cs
- ProcessHostFactoryHelper.cs
- DummyDataSource.cs
- URL.cs
- XmlNodeComparer.cs
- Vector3DCollectionValueSerializer.cs
- NativeMethods.cs
- SqlConnectionPoolProviderInfo.cs
- BrowserCapabilitiesFactory.cs
- QueryOperatorEnumerator.cs
- TextContainerChangeEventArgs.cs
- ComplexType.cs
- _ConnectStream.cs
- MdiWindowListItemConverter.cs
- DateTimeValueSerializer.cs
- WSTrust.cs
- VoiceObjectToken.cs
- MetadataUtilsSmi.cs
- SizeFConverter.cs
- InvokeMethodActivity.cs
- PasswordPropertyTextAttribute.cs
- FixedBufferAttribute.cs
- MiniModule.cs
- ExpressionsCollectionConverter.cs
- PointAnimationUsingPath.cs
- GroupPartitionExpr.cs
- DomainUpDown.cs
- HostedController.cs
- JournalNavigationScope.cs
- PaintEvent.cs
- BuildProviderCollection.cs
- InvokeCompletedEventArgs.cs
- Properties.cs
- ScaleTransform3D.cs
- ProcessManager.cs
- ComponentResourceKey.cs