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
- WebRequestModuleElementCollection.cs
- EntityDataSourceWrapper.cs
- ParallelActivityDesigner.cs
- StateDesigner.LayoutSelectionGlyph.cs
- HtmlTernaryTree.cs
- User.cs
- SchemaConstraints.cs
- RegexGroupCollection.cs
- RoutedPropertyChangedEventArgs.cs
- SchemaImporterExtensionElementCollection.cs
- WebPartTransformerAttribute.cs
- RadioButton.cs
- RightsManagementEncryptionTransform.cs
- FileEnumerator.cs
- SafeEventLogWriteHandle.cs
- RuleSetCollection.cs
- Ray3DHitTestResult.cs
- RootAction.cs
- StreamUpgradeInitiator.cs
- AdRotator.cs
- ScriptDescriptor.cs
- Baml2006ReaderSettings.cs
- EnvironmentPermission.cs
- OpCopier.cs
- ContainerUtilities.cs
- COM2PictureConverter.cs
- SqlNotificationRequest.cs
- Binding.cs
- ColorConverter.cs
- AnnouncementEndpointElement.cs
- TreeChangeInfo.cs
- MultipleViewPatternIdentifiers.cs
- RequestCacheManager.cs
- pingexception.cs
- ColumnHeader.cs
- SQLResource.cs
- InitializerFacet.cs
- WaitHandleCannotBeOpenedException.cs
- WebColorConverter.cs
- ScrollBar.cs
- PropertyFilterAttribute.cs
- UnsafeNativeMethods.cs
- IImplicitResourceProvider.cs
- ListViewTableRow.cs
- ToolStripControlHost.cs
- ClockController.cs
- StoreItemCollection.cs
- AnchoredBlock.cs
- AssociatedControlConverter.cs
- XmlWriterSettings.cs
- NativeMethods.cs
- RecipientInfo.cs
- OutputCacheSettingsSection.cs
- SelectionUIHandler.cs
- WebPartConnectionCollection.cs
- ConstrainedGroup.cs
- X509IssuerSerialKeyIdentifierClause.cs
- FontWeights.cs
- SQLConvert.cs
- PromptEventArgs.cs
- ToolStripControlHost.cs
- ComponentEvent.cs
- FloatMinMaxAggregationOperator.cs
- SchemaTypeEmitter.cs
- AxisAngleRotation3D.cs
- CodeGotoStatement.cs
- ResourceDescriptionAttribute.cs
- PrintPreviewControl.cs
- ProcessThreadCollection.cs
- Int32CAMarshaler.cs
- Semaphore.cs
- DispatchWrapper.cs
- XPathAxisIterator.cs
- MemoryRecordBuffer.cs
- EntityTypeEmitter.cs
- ListenerElementsCollection.cs
- ThreadInterruptedException.cs
- QueryResult.cs
- GridViewUpdatedEventArgs.cs
- GeneralTransformGroup.cs
- ErrorHandler.cs
- ObjectCloneHelper.cs
- MultipartContentParser.cs
- MenuTracker.cs
- DesignerDataSchemaClass.cs
- DataGridViewCheckBoxCell.cs
- XmlWriterSettings.cs
- StorageMappingItemCollection.cs
- KeyGesture.cs
- ConfigXmlText.cs
- LogicalExpressionTypeConverter.cs
- SqlCrossApplyToCrossJoin.cs
- BuiltInExpr.cs
- XmlLanguage.cs
- AspCompat.cs
- QilXmlReader.cs
- ValidationPropertyAttribute.cs
- RoleManagerSection.cs
- ExpressionBindingsDialog.cs
- IssuedTokensHeader.cs