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
- Transform.cs
- ModuleBuilder.cs
- WarningException.cs
- UnsafeNativeMethods.cs
- RenderContext.cs
- SingleResultAttribute.cs
- MetadataPropertyCollection.cs
- TableLayoutRowStyleCollection.cs
- SqlServices.cs
- CompatibleComparer.cs
- SocketElement.cs
- PassportAuthentication.cs
- DataSourceExpression.cs
- FrameworkRichTextComposition.cs
- ExpressionNode.cs
- ScrollChrome.cs
- JoinGraph.cs
- DataMisalignedException.cs
- metadatamappinghashervisitor.cs
- CodeTypeReferenceCollection.cs
- BlurEffect.cs
- SafeRightsManagementQueryHandle.cs
- DynamicMetaObject.cs
- AffineTransform3D.cs
- CheckBoxAutomationPeer.cs
- ProfileEventArgs.cs
- SQLCharsStorage.cs
- ScrollContentPresenter.cs
- DetailsViewUpdatedEventArgs.cs
- LinqToSqlWrapper.cs
- SqlTopReducer.cs
- ControlUtil.cs
- HtmlTernaryTree.cs
- PagesSection.cs
- DiscriminatorMap.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- MailBnfHelper.cs
- _ScatterGatherBuffers.cs
- RawUIStateInputReport.cs
- TextEditorCopyPaste.cs
- Lease.cs
- TableParaClient.cs
- ContourSegment.cs
- GridSplitter.cs
- ClipboardProcessor.cs
- Calendar.cs
- DynamicMetaObject.cs
- SafeNativeMethods.cs
- IsolatedStorage.cs
- ConnectionPointCookie.cs
- ServicesUtilities.cs
- CorrelationRequestContext.cs
- PenContext.cs
- GacUtil.cs
- HwndHost.cs
- Timeline.cs
- AbsoluteQuery.cs
- CollectionViewGroupRoot.cs
- LayoutDump.cs
- ValueExpressions.cs
- NamedPipeTransportElement.cs
- IriParsingElement.cs
- XmlQueryCardinality.cs
- ByteStack.cs
- ContainerUIElement3D.cs
- XamlBuildTaskServices.cs
- ImportContext.cs
- ObjectDataSourceMethodEventArgs.cs
- MultiViewDesigner.cs
- x509store.cs
- MimeWriter.cs
- Registry.cs
- TextSelectionHighlightLayer.cs
- WebHttpBindingCollectionElement.cs
- RoutedEventConverter.cs
- GenericTypeParameterBuilder.cs
- SelectedDatesCollection.cs
- PeerNameRegistration.cs
- SliderAutomationPeer.cs
- WorkflowApplicationAbortedException.cs
- DeferredTextReference.cs
- IResourceProvider.cs
- ConfigurationCollectionAttribute.cs
- MatrixTransform.cs
- NullNotAllowedCollection.cs
- DataGridViewDataErrorEventArgs.cs
- XmlSchemaGroupRef.cs
- VolatileEnlistmentMultiplexing.cs
- DesignerAttribute.cs
- ToolStripContentPanel.cs
- RoleManagerModule.cs
- WinFormsComponentEditor.cs
- NoneExcludedImageIndexConverter.cs
- OrderPreservingPipeliningMergeHelper.cs
- ArcSegment.cs
- TreeNodeMouseHoverEvent.cs
- PackageController.cs
- CatalogZone.cs
- HuffModule.cs
- EntityProviderFactory.cs