Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / Profile / ProfileEventArgs.cs / 1 / ProfileEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * ProfileEventArgs class * * Copyright (c) 1999 Microsoft Corporation */ namespace System.Web.Profile { using System.Web.Security; using System.Security.Principal; using System.Security.Permissions; ////// The /// event argument passed to the Profiles_OnAuthenticate event. Contains a FormsIdentity object and the /// IPrincipal object used for the context. /// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class ProfileEventArgs : EventArgs { private HttpContext _Context; ////// This is the HttpContext intrinsic - most /// notably provides access to Request, Response, and User objects. /// public HttpContext Context { get { return _Context;}} public ProfileBase Profile { get { return _Profile; } set { _Profile = value; } } private ProfileBase _Profile; ////// Constructor /// public ProfileEventArgs(HttpContext context) { _Context = context; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * ProfileEventArgs class * * Copyright (c) 1999 Microsoft Corporation */ namespace System.Web.Profile { using System.Web.Security; using System.Security.Principal; using System.Security.Permissions; ////// The /// event argument passed to the Profiles_OnAuthenticate event. Contains a FormsIdentity object and the /// IPrincipal object used for the context. /// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class ProfileEventArgs : EventArgs { private HttpContext _Context; ////// This is the HttpContext intrinsic - most /// notably provides access to Request, Response, and User objects. /// public HttpContext Context { get { return _Context;}} public ProfileBase Profile { get { return _Profile; } set { _Profile = value; } } private ProfileBase _Profile; ////// Constructor /// public ProfileEventArgs(HttpContext context) { _Context = context; } } } // 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
- DataServiceResponse.cs
- WindowProviderWrapper.cs
- ADMembershipProvider.cs
- DataGridCaption.cs
- Unit.cs
- StructuredProperty.cs
- FontResourceCache.cs
- RangeValuePattern.cs
- AppDomainProtocolHandler.cs
- Line.cs
- OutOfProcStateClientManager.cs
- IntSecurity.cs
- xml.cs
- FixedSOMTableCell.cs
- TransactionTable.cs
- EntityRecordInfo.cs
- ItemCollection.cs
- SqlNotificationEventArgs.cs
- SymbolEqualComparer.cs
- DataRowCollection.cs
- Debug.cs
- NativeWindow.cs
- DiscreteKeyFrames.cs
- TextFormatter.cs
- RuntimeDelegateArgument.cs
- TypeInitializationException.cs
- XmlAttribute.cs
- TCEAdapterGenerator.cs
- BitmapEffectDrawing.cs
- DesigntimeLicenseContext.cs
- EditingCommands.cs
- TemplateXamlTreeBuilder.cs
- FileController.cs
- Propagator.JoinPropagator.cs
- BamlRecordHelper.cs
- DesignerWidgets.cs
- DecimalAnimationUsingKeyFrames.cs
- ClrProviderManifest.cs
- ThemeDictionaryExtension.cs
- RoleManagerEventArgs.cs
- CodeParameterDeclarationExpression.cs
- CultureSpecificCharacterBufferRange.cs
- ScriptBehaviorDescriptor.cs
- NeutralResourcesLanguageAttribute.cs
- ConditionValidator.cs
- odbcmetadatafactory.cs
- ColumnWidthChangingEvent.cs
- EntityDataSourceUtil.cs
- SignedXml.cs
- XamlVector3DCollectionSerializer.cs
- XsltFunctions.cs
- Socket.cs
- EventMappingSettings.cs
- WindowsListViewItemCheckBox.cs
- ValueUtilsSmi.cs
- GridViewRowCollection.cs
- SystemNetworkInterface.cs
- _BaseOverlappedAsyncResult.cs
- SamlAuthorityBinding.cs
- XmlBinaryReaderSession.cs
- TableColumnCollection.cs
- DesignerCategoryAttribute.cs
- GlyphingCache.cs
- CodeBlockBuilder.cs
- SmtpFailedRecipientsException.cs
- XpsPackagingException.cs
- ImageFormatConverter.cs
- EntityFrameworkVersions.cs
- ErrorRuntimeConfig.cs
- CompilerParameters.cs
- ListSortDescriptionCollection.cs
- InstanceKeyNotReadyException.cs
- KeyInstance.cs
- FixedTextView.cs
- RtfToXamlReader.cs
- UnsafeNativeMethods.cs
- KeyedCollection.cs
- HttpStaticObjectsCollectionBase.cs
- PopupRoot.cs
- HelpEvent.cs
- RadioButtonRenderer.cs
- UserControl.cs
- FormViewUpdateEventArgs.cs
- WindowsPen.cs
- WebResourceAttribute.cs
- ReferenceEqualityComparer.cs
- CaseInsensitiveComparer.cs
- SynchronizationContext.cs
- TouchFrameEventArgs.cs
- DateTimeValueSerializer.cs
- ConsoleCancelEventArgs.cs
- TransformedBitmap.cs
- WindowsGraphicsCacheManager.cs
- MonthCalendar.cs
- OleDbCommandBuilder.cs
- HttpCapabilitiesEvaluator.cs
- AuditLogLocation.cs
- PeerReferralPolicy.cs
- XamlVector3DCollectionSerializer.cs
- ExtensionSimplifierMarkupObject.cs