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 / 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
- DataSourceProvider.cs
- Gdiplus.cs
- TargetInvocationException.cs
- Script.cs
- MasterPageBuildProvider.cs
- TreeViewImageGenerator.cs
- RepeatBehaviorConverter.cs
- UserNameServiceElement.cs
- WorkflowCreationContext.cs
- NodeInfo.cs
- FormsAuthenticationUser.cs
- FixedTextBuilder.cs
- StylusPointProperties.cs
- SqlXml.cs
- CellQuery.cs
- DependsOnAttribute.cs
- ToolStripPanelRow.cs
- DataQuery.cs
- OrthographicCamera.cs
- DataControlFieldTypeEditor.cs
- ObjectItemAttributeAssemblyLoader.cs
- LinearKeyFrames.cs
- BaseProcessor.cs
- Thumb.cs
- PeerUnsafeNativeCryptMethods.cs
- SHA256CryptoServiceProvider.cs
- ProfileService.cs
- SizeConverter.cs
- DesignerVerb.cs
- RectAnimation.cs
- LineServices.cs
- ResourcePool.cs
- VariableElement.cs
- XmlILOptimizerVisitor.cs
- SelectedPathEditor.cs
- DrawingBrush.cs
- RotateTransform.cs
- OleServicesContext.cs
- FixedHighlight.cs
- LabelExpression.cs
- DebugView.cs
- Keyboard.cs
- EdmItemError.cs
- figurelengthconverter.cs
- RealProxy.cs
- XPathItem.cs
- DataSourceControl.cs
- AuthenticationServiceManager.cs
- FileRegion.cs
- PtsHost.cs
- Path.cs
- PrintPageEvent.cs
- StructuralCache.cs
- AssociationType.cs
- BaseDataBoundControl.cs
- MimeFormatExtensions.cs
- NameTable.cs
- FormatterServices.cs
- DataSetUtil.cs
- RIPEMD160.cs
- NumericPagerField.cs
- OneToOneMappingSerializer.cs
- COAUTHIDENTITY.cs
- TriggerBase.cs
- InputBindingCollection.cs
- ThreadInterruptedException.cs
- ServerValidateEventArgs.cs
- LinqToSqlWrapper.cs
- ImagingCache.cs
- DocComment.cs
- ApplicationInfo.cs
- IndexingContentUnit.cs
- SystemColors.cs
- OracleCommandSet.cs
- XmlSchemaAll.cs
- Rules.cs
- DesignerSerializerAttribute.cs
- SatelliteContractVersionAttribute.cs
- TranslateTransform3D.cs
- CoordinationService.cs
- FacetDescription.cs
- ConfigurationManagerInternal.cs
- Base64Encoder.cs
- ReferentialConstraintRoleElement.cs
- COM2PropertyDescriptor.cs
- CutCopyPasteHelper.cs
- SoapSchemaImporter.cs
- SoapFormatExtensions.cs
- FieldBuilder.cs
- COM2ExtendedBrowsingHandler.cs
- CachedTypeface.cs
- StorageEntityTypeMapping.cs
- SHA512.cs
- GridView.cs
- ThaiBuddhistCalendar.cs
- StaticTextPointer.cs
- ConstNode.cs
- CursorConverter.cs
- QueueTransferProtocol.cs
- CLRBindingWorker.cs