Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DoubleAnimationBase.cs
- NumberSubstitution.cs
- MailDefinition.cs
- CommonXSendMessage.cs
- Converter.cs
- EntityDataSourceView.cs
- FilterException.cs
- Trace.cs
- Vector.cs
- CharacterBuffer.cs
- MaterializeFromAtom.cs
- DataGridHeaderBorder.cs
- XmlReader.cs
- UIElementParagraph.cs
- FunctionNode.cs
- HtmlValidatorAdapter.cs
- RelatedImageListAttribute.cs
- SchemaImporterExtensionElement.cs
- WindowHelperService.cs
- ExtendedPropertyDescriptor.cs
- ConfigXmlElement.cs
- HwndSource.cs
- BoundColumn.cs
- StreamResourceInfo.cs
- ExpressionPrinter.cs
- Stack.cs
- SqlMethodAttribute.cs
- PersistenceException.cs
- SwitchLevelAttribute.cs
- ICollection.cs
- ChangeToolStripParentVerb.cs
- WaitForChangedResult.cs
- ListManagerBindingsCollection.cs
- ResourcePermissionBaseEntry.cs
- WorkflowEventArgs.cs
- DBParameter.cs
- RequestNavigateEventArgs.cs
- SrgsRuleRef.cs
- CollaborationHelperFunctions.cs
- InvalidProgramException.cs
- DefinitionUpdate.cs
- XsltInput.cs
- ComboBoxRenderer.cs
- FillErrorEventArgs.cs
- PersistChildrenAttribute.cs
- ClockGroup.cs
- HideDisabledControlAdapter.cs
- EventlogProvider.cs
- ZipIOCentralDirectoryBlock.cs
- ModifiableIteratorCollection.cs
- TdsParser.cs
- AuthenticationService.cs
- OutputScopeManager.cs
- Metafile.cs
- WebPartsPersonalization.cs
- WebHttpBindingCollectionElement.cs
- DrawingServices.cs
- SupportsPreviewControlAttribute.cs
- WmlLabelAdapter.cs
- HostedController.cs
- MobileListItem.cs
- DebugTrace.cs
- QueryAccessibilityHelpEvent.cs
- GradientSpreadMethodValidation.cs
- SqlClientMetaDataCollectionNames.cs
- AvTraceFormat.cs
- LicenseException.cs
- SecurityValidationBehavior.cs
- ToolStripOverflow.cs
- FormViewDeleteEventArgs.cs
- DocobjHost.cs
- RuleElement.cs
- MessageHeaders.cs
- ColorContextHelper.cs
- TransactionInterop.cs
- DispatchWrapper.cs
- SqlMultiplexer.cs
- XmlBinaryReader.cs
- CanonicalFormWriter.cs
- RadioButtonAutomationPeer.cs
- CodeBlockBuilder.cs
- DbParameterCollectionHelper.cs
- OracleCommandBuilder.cs
- FileDialog.cs
- UpdateManifestForBrowserApplication.cs
- SqlEnums.cs
- GregorianCalendarHelper.cs
- Set.cs
- DataGridViewColumnEventArgs.cs
- WorkflowRuntimeService.cs
- Oid.cs
- DesignerCategoryAttribute.cs
- WebPartConnectionsConnectVerb.cs
- Pair.cs
- HyperLinkColumn.cs
- GridViewColumn.cs
- BitConverter.cs
- GridViewSortEventArgs.cs
- EncoderFallback.cs
- OrderedDictionaryStateHelper.cs