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
- XmlUrlResolver.cs
- RowsCopiedEventArgs.cs
- AnnotationHelper.cs
- ConnectionOrientedTransportChannelFactory.cs
- ConstrainedDataObject.cs
- KeyEventArgs.cs
- TableLayoutColumnStyleCollection.cs
- GeneralTransform3DTo2DTo3D.cs
- AutoGeneratedFieldProperties.cs
- ObjectResult.cs
- StandardToolWindows.cs
- ChannelSinkStacks.cs
- SmiXetterAccessMap.cs
- TableLayoutPanelCellPosition.cs
- DragDeltaEventArgs.cs
- XmlHelper.cs
- RadioButtonBaseAdapter.cs
- XmlNotation.cs
- UnsupportedPolicyOptionsException.cs
- PathTooLongException.cs
- ResourceIDHelper.cs
- CqlParser.cs
- ModifierKeysConverter.cs
- StrokeRenderer.cs
- AsyncStreamReader.cs
- FormsAuthenticationCredentials.cs
- SmtpCommands.cs
- SafeHandle.cs
- PermissionToken.cs
- RelationalExpressions.cs
- DefaultMergeHelper.cs
- StringFreezingAttribute.cs
- ChtmlTextWriter.cs
- autovalidator.cs
- AssemblyNameProxy.cs
- LogAppendAsyncResult.cs
- ConfigurationSchemaErrors.cs
- Pts.cs
- ToolBar.cs
- SourceItem.cs
- TabItemWrapperAutomationPeer.cs
- ShadowGlyph.cs
- TemplateFactory.cs
- AddInEnvironment.cs
- FixedElement.cs
- XPathExpr.cs
- TiffBitmapDecoder.cs
- CompilerState.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- TreeView.cs
- WaitHandle.cs
- ProxyWebPartManager.cs
- XmlLangPropertyAttribute.cs
- LineServicesCallbacks.cs
- SQLDecimal.cs
- XmlAggregates.cs
- FixedLineResult.cs
- CompiledAction.cs
- UpdateManifestForBrowserApplication.cs
- QuaternionValueSerializer.cs
- PasswordRecovery.cs
- ExtensionDataObject.cs
- Column.cs
- FixedDocumentPaginator.cs
- TreeChangeInfo.cs
- NotifyParentPropertyAttribute.cs
- HttpPostProtocolReflector.cs
- SqlMultiplexer.cs
- MimeBasePart.cs
- Vector3DConverter.cs
- ScrollEventArgs.cs
- SoapObjectInfo.cs
- HttpClientChannel.cs
- DependencyPropertyAttribute.cs
- TextTreeFixupNode.cs
- OleDbPropertySetGuid.cs
- PageFunction.cs
- ZipIOExtraFieldElement.cs
- PageContentAsyncResult.cs
- DataGridViewTopLeftHeaderCell.cs
- RootBuilder.cs
- DataGridRow.cs
- ChangeConflicts.cs
- Crc32.cs
- ChtmlFormAdapter.cs
- CompletionCallbackWrapper.cs
- SessionPageStateSection.cs
- FixedPosition.cs
- DrawingImage.cs
- HttpModuleCollection.cs
- PassportAuthenticationEventArgs.cs
- TypeBinaryExpression.cs
- ModuleElement.cs
- BinaryMessageEncodingBindingElement.cs
- InplaceBitmapMetadataWriter.cs
- ClientBuildManagerCallback.cs
- GenericIdentity.cs
- odbcmetadatacollectionnames.cs
- PropertyMetadata.cs
- SqlConnectionPoolGroupProviderInfo.cs