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
- Model3D.cs
- BrowserCapabilitiesCodeGenerator.cs
- IPAddressCollection.cs
- DataStreams.cs
- BinaryExpressionHelper.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- RootBuilder.cs
- __Error.cs
- DocumentViewerAutomationPeer.cs
- SizeAnimationClockResource.cs
- HostingPreferredMapPath.cs
- BitSet.cs
- RegexCompiler.cs
- ContextMarshalException.cs
- Base64Encoding.cs
- ResourceKey.cs
- InfoCardSymmetricCrypto.cs
- ListViewHitTestInfo.cs
- VisualStyleInformation.cs
- StrokeCollection2.cs
- MemoryStream.cs
- ParameterCollection.cs
- ColumnResizeUndoUnit.cs
- OperationCanceledException.cs
- HostedAspNetEnvironment.cs
- LoadedOrUnloadedOperation.cs
- PartialArray.cs
- ServiceProviders.cs
- FrameworkElement.cs
- Win32KeyboardDevice.cs
- RuntimeWrappedException.cs
- ColumnMap.cs
- documentsequencetextpointer.cs
- MissingManifestResourceException.cs
- BookmarkScopeInfo.cs
- LineMetrics.cs
- Switch.cs
- ColorAnimationBase.cs
- EncryptedPackage.cs
- HotSpot.cs
- CustomTypeDescriptor.cs
- PropertyChange.cs
- MethodBuilderInstantiation.cs
- XmlSchemaAttribute.cs
- OleDbTransaction.cs
- Config.cs
- ReadOnlyCollection.cs
- StartFileNameEditor.cs
- XmlUtf8RawTextWriter.cs
- cache.cs
- ValueConversionAttribute.cs
- SchemaEntity.cs
- ConversionContext.cs
- CaseInsensitiveHashCodeProvider.cs
- HttpRawResponse.cs
- GenericWebPart.cs
- SvcMapFile.cs
- OperationAbortedException.cs
- PTConverter.cs
- TransformerInfo.cs
- RuleRef.cs
- ConfigXmlWhitespace.cs
- CollectionBase.cs
- NavigatingCancelEventArgs.cs
- _KerberosClient.cs
- XmlSchemaSimpleTypeList.cs
- ExceptionUtil.cs
- SecurityTimestamp.cs
- XmlNamespaceMappingCollection.cs
- CharacterBuffer.cs
- HttpProcessUtility.cs
- BitmapEffect.cs
- complextypematerializer.cs
- DataKeyArray.cs
- TraceSource.cs
- DataContractFormatAttribute.cs
- IfAction.cs
- GlyphRun.cs
- StateMachineHelpers.cs
- ResourceAssociationTypeEnd.cs
- CustomActivityDesigner.cs
- SymbolType.cs
- Misc.cs
- BaseWebProxyFinder.cs
- ReadOnlyDataSourceView.cs
- NullableLongMinMaxAggregationOperator.cs
- LocalIdKeyIdentifierClause.cs
- XmlUtil.cs
- TemplatedWizardStep.cs
- GetParentChain.cs
- HashCryptoHandle.cs
- FormViewRow.cs
- SupportingTokenBindingElement.cs
- DataGridViewImageColumn.cs
- XamlRtfConverter.cs
- RemotingServices.cs
- InputBinding.cs
- GacUtil.cs
- NetTcpBindingCollectionElement.cs
- SoapEnumAttribute.cs