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
- EUCJPEncoding.cs
- HeaderElement.cs
- ValidationHelper.cs
- ContextConfiguration.cs
- DoubleAnimation.cs
- DropShadowEffect.cs
- DrawingAttributes.cs
- ReadContentAsBinaryHelper.cs
- XhtmlTextWriter.cs
- AssertFilter.cs
- ArrayItemReference.cs
- LiteralControl.cs
- AttributeQuery.cs
- PropertyGrid.cs
- ColumnWidthChangingEvent.cs
- SaveFileDialog.cs
- SyndicationDeserializer.cs
- ChangeConflicts.cs
- AxisAngleRotation3D.cs
- sqlser.cs
- MDIControlStrip.cs
- RemotingConfiguration.cs
- HtmlTernaryTree.cs
- TreeViewImageIndexConverter.cs
- LineBreakRecord.cs
- StorageEntityContainerMapping.cs
- Internal.cs
- XmlSerializerFaultFormatter.cs
- AppManager.cs
- PackageRelationshipSelector.cs
- CodeComment.cs
- SQLByte.cs
- PenContext.cs
- SslStream.cs
- RoutingConfiguration.cs
- ImageSourceConverter.cs
- ListViewItem.cs
- DbExpressionVisitor.cs
- SearchForVirtualItemEventArgs.cs
- GuidelineSet.cs
- DirectionalLight.cs
- SmtpAuthenticationManager.cs
- _StreamFramer.cs
- DesignerActionItem.cs
- ThicknessAnimation.cs
- ConsumerConnectionPointCollection.cs
- ModifiableIteratorCollection.cs
- XmlAnyElementAttribute.cs
- MatrixTransform.cs
- DataTrigger.cs
- Utils.cs
- ApplicationServiceHelper.cs
- glyphs.cs
- TraceContextEventArgs.cs
- CodeArrayIndexerExpression.cs
- CmsInterop.cs
- MessageHeaders.cs
- SchemaAttDef.cs
- ReversePositionQuery.cs
- QueryRelOp.cs
- DropTarget.cs
- SubstitutionResponseElement.cs
- NameValuePermission.cs
- LineInfo.cs
- BinaryReader.cs
- SettingsPropertyWrongTypeException.cs
- PtsHost.cs
- DynamicValidatorEventArgs.cs
- WindowsBrush.cs
- PropertyFilterAttribute.cs
- TableLayoutRowStyleCollection.cs
- Roles.cs
- HtmlCommandAdapter.cs
- COM2IPerPropertyBrowsingHandler.cs
- TileModeValidation.cs
- NodeInfo.cs
- DataKey.cs
- StylusDevice.cs
- documentsequencetextcontainer.cs
- MessagePartSpecification.cs
- AdjustableArrowCap.cs
- StrongNameSignatureInformation.cs
- SerializationFieldInfo.cs
- CollectionViewProxy.cs
- SByteConverter.cs
- BitConverter.cs
- TdsValueSetter.cs
- MatrixStack.cs
- CompilerLocalReference.cs
- ICollection.cs
- ZipPackage.cs
- BindingMAnagerBase.cs
- DescendantOverDescendantQuery.cs
- DelegatingTypeDescriptionProvider.cs
- ContractType.cs
- PathData.cs
- DataGridLength.cs
- AttributeCollection.cs
- EntityContainerRelationshipSet.cs
- UnsafeNativeMethods.cs