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
- storepermissionattribute.cs
- HttpModuleAction.cs
- SafeMILHandle.cs
- SiteMapDataSourceView.cs
- OracleMonthSpan.cs
- Root.cs
- SemanticKeyElement.cs
- StylusOverProperty.cs
- WorkflowHostingEndpoint.cs
- PerformanceCounterManager.cs
- FastPropertyAccessor.cs
- ApplicationException.cs
- ManagedFilter.cs
- ValueQuery.cs
- SqlClientWrapperSmiStreamChars.cs
- TargetControlTypeCache.cs
- unsafenativemethodstextservices.cs
- XmlCodeExporter.cs
- SmtpAuthenticationManager.cs
- TrackingServices.cs
- ComponentSerializationService.cs
- SpeakProgressEventArgs.cs
- xmlglyphRunInfo.cs
- XmlSchemaImporter.cs
- BitmapPalettes.cs
- SendMessageRecord.cs
- Automation.cs
- UnmanagedMemoryStream.cs
- CodeObjectCreateExpression.cs
- AssemblyBuilder.cs
- IncrementalReadDecoders.cs
- infer.cs
- XmlSerializationReader.cs
- ViewStateModeByIdAttribute.cs
- SafePointer.cs
- CompoundFileStorageReference.cs
- RadioButtonBaseAdapter.cs
- FileVersionInfo.cs
- WriterOutput.cs
- DockProviderWrapper.cs
- EarlyBoundInfo.cs
- WinEventWrap.cs
- IsolatedStorageFile.cs
- FastPropertyAccessor.cs
- TableProviderWrapper.cs
- CellRelation.cs
- DataGridViewCellValueEventArgs.cs
- _NestedSingleAsyncResult.cs
- SQLDecimalStorage.cs
- xamlnodes.cs
- XmlParserContext.cs
- DataSourceCacheDurationConverter.cs
- xsdvalidator.cs
- StoragePropertyMapping.cs
- ObjectStateFormatter.cs
- BoolExpr.cs
- PrintPreviewGraphics.cs
- XpsSerializationManagerAsync.cs
- XmlNamespaceManager.cs
- SrgsOneOf.cs
- ContextProperty.cs
- BypassElement.cs
- RadialGradientBrush.cs
- AddInContractAttribute.cs
- BinaryNode.cs
- PropertyMapper.cs
- SizeConverter.cs
- InlinedAggregationOperator.cs
- WebPartConnection.cs
- SystemMulticastIPAddressInformation.cs
- NativeRightsManagementAPIsStructures.cs
- DBCommand.cs
- ImageField.cs
- Single.cs
- OdbcRowUpdatingEvent.cs
- EventWaitHandleSecurity.cs
- SecurityDescriptor.cs
- WindowsSpinner.cs
- ISAPIWorkerRequest.cs
- sqlpipe.cs
- StreamingContext.cs
- ConnectionManagementSection.cs
- DataGridViewRowHeaderCell.cs
- NotImplementedException.cs
- XmlBindingWorker.cs
- HttpCacheVaryByContentEncodings.cs
- selecteditemcollection.cs
- AttributeUsageAttribute.cs
- SrgsNameValueTag.cs
- ToolStripDropDownClosedEventArgs.cs
- FunctionCommandText.cs
- WindowClosedEventArgs.cs
- QilDataSource.cs
- TextContainerHelper.cs
- GridViewDeletedEventArgs.cs
- PersonalizationProviderHelper.cs
- ContainerControl.cs
- FileUpload.cs
- TagElement.cs
- BackStopAuthenticationModule.cs