Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SecurityManager.cs
- MenuCommand.cs
- IfAction.cs
- ConnectionPoolManager.cs
- RichTextBoxDesigner.cs
- EventLogInternal.cs
- WindowsFormsEditorServiceHelper.cs
- TrailingSpaceComparer.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- JavaScriptString.cs
- CombinedGeometry.cs
- DataGridBeginningEditEventArgs.cs
- Touch.cs
- DecimalAnimationBase.cs
- SqlCacheDependencyDatabase.cs
- ProgressiveCrcCalculatingStream.cs
- CurrentChangingEventManager.cs
- SrgsRule.cs
- CanonicalizationDriver.cs
- NetTcpBindingCollectionElement.cs
- ApplicationBuildProvider.cs
- StreamFormatter.cs
- DispatchChannelSink.cs
- CustomTrackingRecord.cs
- WinFormsSecurity.cs
- PropVariant.cs
- HttpInputStream.cs
- IdnMapping.cs
- UITypeEditor.cs
- WindowPattern.cs
- RuleProcessor.cs
- Currency.cs
- SafeMILHandle.cs
- PolyBezierSegmentFigureLogic.cs
- VirtualizedCellInfoCollection.cs
- SoapTypeAttribute.cs
- CardSpaceSelector.cs
- DataGridViewTextBoxCell.cs
- MasterPageBuildProvider.cs
- MarkupProperty.cs
- DataGridItemEventArgs.cs
- CustomLineCap.cs
- RecognizedPhrase.cs
- ObjectCloneHelper.cs
- TreeViewItemAutomationPeer.cs
- DataGridViewCheckBoxCell.cs
- DataGridViewHeaderCell.cs
- SafeCryptoHandles.cs
- ObjectStateEntry.cs
- WebPartExportVerb.cs
- SoapSchemaMember.cs
- FloaterParagraph.cs
- GridViewHeaderRowPresenter.cs
- basemetadatamappingvisitor.cs
- MemberInfoSerializationHolder.cs
- BrowserDefinitionCollection.cs
- LocalServiceSecuritySettings.cs
- HttpWebRequestElement.cs
- Label.cs
- MetadataItem.cs
- EventListener.cs
- Hash.cs
- BinaryCommonClasses.cs
- ContentType.cs
- SystemIPGlobalProperties.cs
- SmtpNetworkElement.cs
- PropertyGroupDescription.cs
- EntityKey.cs
- UnsafeNativeMethods.cs
- CatalogPart.cs
- FrameAutomationPeer.cs
- SqlDataSourceFilteringEventArgs.cs
- SerialStream.cs
- SecurityResources.cs
- MessageHeaderT.cs
- EmptyTextWriter.cs
- SQLSingle.cs
- DistributedTransactionPermission.cs
- RangeValidator.cs
- HashUtility.cs
- IChannel.cs
- MessageEventSubscriptionService.cs
- FormViewInsertedEventArgs.cs
- AccessedThroughPropertyAttribute.cs
- RSAPKCS1KeyExchangeFormatter.cs
- SemaphoreSecurity.cs
- PeerServiceMessageContracts.cs
- SQLDoubleStorage.cs
- CqlLexer.cs
- ActiveXContainer.cs
- EventLogPermission.cs
- NetworkInformationPermission.cs
- ProcessModule.cs
- VirtualDirectoryMappingCollection.cs
- WebPartEditorCancelVerb.cs
- PropertyHelper.cs
- CustomAssemblyResolver.cs
- SystemGatewayIPAddressInformation.cs
- ProfilePropertySettings.cs
- ElementHostPropertyMap.cs