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
- DBSqlParser.cs
- DefaultSection.cs
- DBProviderConfigurationHandler.cs
- SyncMethodInvoker.cs
- ToolStripControlHost.cs
- FormsIdentity.cs
- XamlWriter.cs
- DrawToolTipEventArgs.cs
- EdmFunctionAttribute.cs
- TdsParserStateObject.cs
- Helper.cs
- DependencyObject.cs
- PointF.cs
- RulePatternOps.cs
- NavigationHelper.cs
- EmptyStringExpandableObjectConverter.cs
- AnnotationHelper.cs
- CssStyleCollection.cs
- CaseInsensitiveComparer.cs
- AdapterSwitches.cs
- DataPagerCommandEventArgs.cs
- FixUp.cs
- Compiler.cs
- OdbcFactory.cs
- Rect3D.cs
- ChannelFactoryBase.cs
- SHA384.cs
- DesignerTransaction.cs
- TouchesCapturedWithinProperty.cs
- SymbolUsageManager.cs
- DocumentSequence.cs
- HttpCachePolicyElement.cs
- _NativeSSPI.cs
- StandardOleMarshalObject.cs
- DelayedRegex.cs
- ExtenderControl.cs
- CodeAttributeArgumentCollection.cs
- ByteFacetDescriptionElement.cs
- CodeDomExtensionMethods.cs
- RtType.cs
- PathNode.cs
- Membership.cs
- SmtpClient.cs
- Int16AnimationUsingKeyFrames.cs
- Sql8ConformanceChecker.cs
- SqlReferenceCollection.cs
- ConstraintConverter.cs
- ParentUndoUnit.cs
- HashCoreRequest.cs
- ComponentEvent.cs
- FontFamily.cs
- DesignerSerializerAttribute.cs
- MdImport.cs
- HwndStylusInputProvider.cs
- DoubleAnimationUsingKeyFrames.cs
- ServicesUtilities.cs
- AbstractSvcMapFileLoader.cs
- BuilderPropertyEntry.cs
- TextFormatterContext.cs
- SharedPerformanceCounter.cs
- ToolStripPanelDesigner.cs
- GroupQuery.cs
- TraceFilter.cs
- GenericWebPart.cs
- StylusShape.cs
- TextureBrush.cs
- TextEditorMouse.cs
- DataControlLinkButton.cs
- ServiceThrottle.cs
- EntityProxyFactory.cs
- FixedSOMPageConstructor.cs
- EntityContainer.cs
- CustomLineCap.cs
- TextAnchor.cs
- DefaultCommandConverter.cs
- HwndKeyboardInputProvider.cs
- DataTrigger.cs
- NoClickablePointException.cs
- SecurityPolicySection.cs
- UpdateTracker.cs
- SoapTypeAttribute.cs
- OrthographicCamera.cs
- Reference.cs
- ZeroOpNode.cs
- UnauthorizedWebPart.cs
- XmlNodeComparer.cs
- Decorator.cs
- HistoryEventArgs.cs
- XhtmlBasicValidatorAdapter.cs
- SelectionListDesigner.cs
- URLMembershipCondition.cs
- OdbcEnvironment.cs
- SoapAttributes.cs
- ControlTemplate.cs
- _NestedMultipleAsyncResult.cs
- RuntimeEnvironment.cs
- DataGridViewButtonColumn.cs
- RegexBoyerMoore.cs
- GetCertificateRequest.cs
- ComplexObject.cs