Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Pair.cs
- RequiredFieldValidator.cs
- FrameworkTextComposition.cs
- MinimizableAttributeTypeConverter.cs
- WindowsNonControl.cs
- PersonalizationStateQuery.cs
- RawTextInputReport.cs
- DoubleCollectionValueSerializer.cs
- NameObjectCollectionBase.cs
- DataControlLinkButton.cs
- PropertyPathWorker.cs
- QilPatternFactory.cs
- StorageMappingItemCollection.cs
- PropertyKey.cs
- UIElement.cs
- ReadOnlyHierarchicalDataSource.cs
- DiscoveryMessageSequence.cs
- SocketInformation.cs
- PackageRelationshipSelector.cs
- QilFactory.cs
- DesignerForm.cs
- DbMetaDataCollectionNames.cs
- brushes.cs
- FontCollection.cs
- RequestStatusBarUpdateEventArgs.cs
- SqlException.cs
- WinEventHandler.cs
- SystemIPGlobalStatistics.cs
- SqlAggregateChecker.cs
- OdbcException.cs
- ScriptReferenceBase.cs
- SmtpMail.cs
- DetailsViewDeleteEventArgs.cs
- LocalizableAttribute.cs
- PtsHost.cs
- WindowsListViewSubItem.cs
- WebPartZoneBase.cs
- FileUtil.cs
- CodeAttachEventStatement.cs
- ContractTypeNameElement.cs
- RTLAwareMessageBox.cs
- CodeObject.cs
- AccessDataSourceView.cs
- KeyPullup.cs
- WindowClosedEventArgs.cs
- TreeViewItem.cs
- CodeLinePragma.cs
- CertificateReferenceElement.cs
- SchemaExporter.cs
- SqlIdentifier.cs
- InvokeSchedule.cs
- UnsafeNativeMethodsPenimc.cs
- DataError.cs
- DataBindingCollection.cs
- SettingsPropertyCollection.cs
- SoapClientMessage.cs
- InkCollectionBehavior.cs
- XmlObjectSerializerWriteContextComplex.cs
- DbCommandDefinition.cs
- ZipPackagePart.cs
- EditorBrowsableAttribute.cs
- ICollection.cs
- PageCatalogPart.cs
- LOSFormatter.cs
- StreamGeometry.cs
- Automation.cs
- WebUtil.cs
- GuidelineCollection.cs
- DataSourceHelper.cs
- TextContainerChangeEventArgs.cs
- SingleKeyFrameCollection.cs
- SafePipeHandle.cs
- TypedServiceChannelBuilder.cs
- TableLayoutRowStyleCollection.cs
- WmfPlaceableFileHeader.cs
- Package.cs
- DataSourceCacheDurationConverter.cs
- ConfigurationManagerHelperFactory.cs
- SimpleTableProvider.cs
- HttpValueCollection.cs
- ExportOptions.cs
- PathGeometry.cs
- ColorConverter.cs
- CompModSwitches.cs
- PointCollection.cs
- DataTransferEventArgs.cs
- CompilationPass2TaskInternal.cs
- DeflateStreamAsyncResult.cs
- NoClickablePointException.cs
- _ListenerResponseStream.cs
- XmlUtf8RawTextWriter.cs
- SafeUserTokenHandle.cs
- PropertyExpression.cs
- _BaseOverlappedAsyncResult.cs
- MetaModel.cs
- xamlnodes.cs
- ResizingMessageFilter.cs
- WebReferencesBuildProvider.cs
- ListViewGroupItemCollection.cs
- ContentTypeSettingDispatchMessageFormatter.cs