Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DefaultWorkflowTransactionService.cs
- AsyncPostBackErrorEventArgs.cs
- WinEventTracker.cs
- SQLInt64Storage.cs
- MemberAssignment.cs
- X509WindowsSecurityToken.cs
- AssemblyFilter.cs
- ObservableCollection.cs
- Substitution.cs
- ConfigurationLocationCollection.cs
- XmlTextEncoder.cs
- EntityViewContainer.cs
- RootBuilder.cs
- SplineKeyFrames.cs
- EntityCommandExecutionException.cs
- ConfigurationValidatorBase.cs
- AddInDeploymentState.cs
- DataGridLinkButton.cs
- XmlDataImplementation.cs
- PointUtil.cs
- FrameworkRichTextComposition.cs
- SettingsPropertyWrongTypeException.cs
- SRef.cs
- SubstitutionResponseElement.cs
- TraceHelpers.cs
- RuleDefinitions.cs
- COM2ICategorizePropertiesHandler.cs
- DataGridViewCellParsingEventArgs.cs
- WebPartMenuStyle.cs
- TreeNodeMouseHoverEvent.cs
- DbConvert.cs
- EnumType.cs
- DependentList.cs
- VectorConverter.cs
- SmtpTransport.cs
- HttpListenerContext.cs
- ScalarConstant.cs
- WindowsGraphics2.cs
- ContextStack.cs
- ProcessModelSection.cs
- FilteredReadOnlyMetadataCollection.cs
- PageCodeDomTreeGenerator.cs
- Maps.cs
- RSACryptoServiceProvider.cs
- MemberAccessException.cs
- StyleXamlParser.cs
- CountAggregationOperator.cs
- AccessedThroughPropertyAttribute.cs
- SqlBulkCopy.cs
- MetabaseSettingsIis7.cs
- PrintingPermissionAttribute.cs
- EntitySqlQueryCacheEntry.cs
- EventBindingService.cs
- StoreContentChangedEventArgs.cs
- SafeNativeMethods.cs
- SafeFileHandle.cs
- TypeLibConverter.cs
- TextModifierScope.cs
- OutputCacheSettingsSection.cs
- WS2007FederationHttpBinding.cs
- AttachedPropertyDescriptor.cs
- ProjectionCamera.cs
- KeyConverter.cs
- ClassImporter.cs
- Geometry.cs
- ReadOnlyKeyedCollection.cs
- XhtmlStyleClass.cs
- activationcontext.cs
- UDPClient.cs
- ValuePattern.cs
- OutKeywords.cs
- ProcessDesigner.cs
- DNS.cs
- SmiSettersStream.cs
- DbConnectionOptions.cs
- TextParaClient.cs
- ScrollContentPresenter.cs
- PolyQuadraticBezierSegment.cs
- PathTooLongException.cs
- DbParameterHelper.cs
- HttpCacheParams.cs
- Pick.cs
- UIElementAutomationPeer.cs
- LongValidator.cs
- DataGridViewAutoSizeModeEventArgs.cs
- SpecialFolderEnumConverter.cs
- XPathDocumentNavigator.cs
- PerformanceCounterPermissionAttribute.cs
- Exceptions.cs
- WSFederationHttpSecurity.cs
- StylusPlugin.cs
- KeyProperty.cs
- SafeFindHandle.cs
- ContextMenuService.cs
- SqlCommand.cs
- XmlDataCollection.cs
- CaseCqlBlock.cs
- NamedObject.cs
- TextPointerBase.cs
- SmtpNegotiateAuthenticationModule.cs