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
- BufferedGraphicsContext.cs
- PenThread.cs
- PaintValueEventArgs.cs
- SequentialActivityDesigner.cs
- Function.cs
- WebPartConnectionsCloseVerb.cs
- datacache.cs
- SystemTcpConnection.cs
- XmlConverter.cs
- CodeConditionStatement.cs
- ShapeTypeface.cs
- QueryTaskGroupState.cs
- HttpFileCollection.cs
- LeftCellWrapper.cs
- SecurityElement.cs
- ValidateNames.cs
- DtrList.cs
- UniqueIdentifierService.cs
- DefaultSettingsSection.cs
- InvalidPropValue.cs
- ValueTypeFixupInfo.cs
- SetMemberBinder.cs
- ImplicitInputBrush.cs
- invalidudtexception.cs
- ConstrainedGroup.cs
- LineServices.cs
- ThreadSafeList.cs
- DbProviderFactoriesConfigurationHandler.cs
- ExpressionSelection.cs
- IntranetCredentialPolicy.cs
- PerformanceCounterPermission.cs
- LiteralControl.cs
- CopyOnWriteList.cs
- AssemblyAttributesGoHere.cs
- EdmFunction.cs
- AutoGeneratedFieldProperties.cs
- SspiWrapper.cs
- DefaultMemberAttribute.cs
- PrivilegeNotHeldException.cs
- HttpModulesSection.cs
- Calendar.cs
- HashHelper.cs
- ToolBarOverflowPanel.cs
- BezierSegment.cs
- NativeRecognizer.cs
- ProtocolViolationException.cs
- XsltLoader.cs
- NameValuePermission.cs
- OdbcConnection.cs
- DecoderReplacementFallback.cs
- ProtocolsSection.cs
- CellTreeNode.cs
- MulticastOption.cs
- PointAnimationUsingPath.cs
- TextBox.cs
- documentation.cs
- MenuItemStyleCollection.cs
- Binding.cs
- XmlUtil.cs
- WinEventHandler.cs
- Utils.cs
- hresults.cs
- TaiwanLunisolarCalendar.cs
- ReverseComparer.cs
- XmlSchemaFacet.cs
- XPathParser.cs
- SQLCharsStorage.cs
- ExecutedRoutedEventArgs.cs
- DocumentXPathNavigator.cs
- XmlValidatingReader.cs
- ConstructorBuilder.cs
- XslCompiledTransform.cs
- PathSegmentCollection.cs
- TableLayoutSettings.cs
- PageAsyncTask.cs
- CombinedGeometry.cs
- SqlAliaser.cs
- LinkLabel.cs
- BrowserTree.cs
- PolygonHotSpot.cs
- InkCanvasSelection.cs
- HandleExceptionArgs.cs
- HtmlInputHidden.cs
- FixUpCollection.cs
- HttpInputStream.cs
- WebRequestModulesSection.cs
- DigestTraceRecordHelper.cs
- OleDbMetaDataFactory.cs
- RSAOAEPKeyExchangeFormatter.cs
- ToolboxBitmapAttribute.cs
- ConsumerConnectionPoint.cs
- ApplicationSettingsBase.cs
- InstalledVoice.cs
- FrameworkContextData.cs
- PerfCounters.cs
- DataGridItemCollection.cs
- SimpleMailWebEventProvider.cs
- MobileControlPersister.cs
- TextDecorations.cs
- TypeForwardedToAttribute.cs