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
- TabControl.cs
- XsltLoader.cs
- Char.cs
- DataGridViewImageColumn.cs
- SchemaObjectWriter.cs
- RegexCapture.cs
- DependencyObjectPropertyDescriptor.cs
- ListGeneralPage.cs
- EdmItemError.cs
- AdCreatedEventArgs.cs
- ScriptReferenceBase.cs
- InvalidWMPVersionException.cs
- CallContext.cs
- InstancePersistenceCommandException.cs
- RecognizeCompletedEventArgs.cs
- WaitForChangedResult.cs
- KeyFrames.cs
- DataMemberFieldEditor.cs
- DetailsViewPageEventArgs.cs
- XomlCompilerHelpers.cs
- _SslSessionsCache.cs
- HtmlTableCellCollection.cs
- CodeDOMProvider.cs
- SafeNativeMethods.cs
- WorkflowMarkupSerializerMapping.cs
- TextBlock.cs
- AttributeParameterInfo.cs
- FontStretch.cs
- ValidationResult.cs
- EllipseGeometry.cs
- FileUpload.cs
- User.cs
- ObsoleteAttribute.cs
- BoolExpression.cs
- ByeOperation11AsyncResult.cs
- XamlVector3DCollectionSerializer.cs
- DbExpressionBuilder.cs
- PhysicalAddress.cs
- MetadataCollection.cs
- DtdParser.cs
- ListBoxAutomationPeer.cs
- CheckedPointers.cs
- ComboBoxRenderer.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- SequenceQuery.cs
- RegexCompiler.cs
- RichTextBoxDesigner.cs
- XamlBuildTaskServices.cs
- JsonQNameDataContract.cs
- HitTestWithPointDrawingContextWalker.cs
- StringValueSerializer.cs
- RemotingHelper.cs
- LoggedException.cs
- MatrixTransform.cs
- SqlCacheDependencyDatabaseCollection.cs
- TiffBitmapDecoder.cs
- PropertyValue.cs
- SqlProviderUtilities.cs
- DataObjectMethodAttribute.cs
- PropertyPathWorker.cs
- AttributeProviderAttribute.cs
- DataGridSortCommandEventArgs.cs
- AnnotationResourceChangedEventArgs.cs
- RequestValidator.cs
- EntityDataSourceMemberPath.cs
- COM2ColorConverter.cs
- Section.cs
- TypeForwardedFromAttribute.cs
- IndexObject.cs
- MemberMemberBinding.cs
- CqlParser.cs
- DocumentCollection.cs
- TransformCollection.cs
- FixedPageProcessor.cs
- shaperfactoryquerycacheentry.cs
- InputMethodStateChangeEventArgs.cs
- InfoCardCryptoHelper.cs
- SafeNativeMemoryHandle.cs
- ListViewCommandEventArgs.cs
- OleDbErrorCollection.cs
- ComplexTypeEmitter.cs
- versioninfo.cs
- FixedSOMSemanticBox.cs
- BamlLocalizableResource.cs
- CacheSection.cs
- ListViewInsertionMark.cs
- ImageListStreamer.cs
- IisTraceListener.cs
- Attributes.cs
- DataGridViewLinkColumn.cs
- WindowsAltTab.cs
- ChtmlTextWriter.cs
- SettingsAttributeDictionary.cs
- SoapParser.cs
- StructuredTypeInfo.cs
- BamlRecordWriter.cs
- XmlSchemaImporter.cs
- TableLayoutColumnStyleCollection.cs
- ReadOnlyDataSourceView.cs
- Span.cs