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
- LoginView.cs
- hresults.cs
- Rotation3DAnimationUsingKeyFrames.cs
- TransformGroup.cs
- SinglePageViewer.cs
- WebCategoryAttribute.cs
- DependencyProperty.cs
- RsaKeyIdentifierClause.cs
- PolicyStatement.cs
- WebDescriptionAttribute.cs
- StorageConditionPropertyMapping.cs
- FormViewDeletedEventArgs.cs
- StreamedFramingRequestChannel.cs
- TreeNodeEventArgs.cs
- ManualResetEvent.cs
- baseaxisquery.cs
- OutputCacheSection.cs
- OrthographicCamera.cs
- XmlParserContext.cs
- WebDisplayNameAttribute.cs
- DataGridViewRowPrePaintEventArgs.cs
- FormsAuthenticationModule.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- EntityType.cs
- ISO2022Encoding.cs
- CommandBinding.cs
- DocumentXmlWriter.cs
- FilterEventArgs.cs
- ellipse.cs
- DropShadowBitmapEffect.cs
- DesignerActionUIStateChangeEventArgs.cs
- isolationinterop.cs
- ToolTipService.cs
- CacheDict.cs
- MimeMapping.cs
- TaiwanLunisolarCalendar.cs
- CustomAttributeFormatException.cs
- CollectionConverter.cs
- QuestionEventArgs.cs
- RowParagraph.cs
- UrlPath.cs
- Identifier.cs
- AxHost.cs
- InvalidEnumArgumentException.cs
- HtmlInputFile.cs
- CookieParameter.cs
- GlyphRunDrawing.cs
- GeometryCollection.cs
- ISCIIEncoding.cs
- SmiXetterAccessMap.cs
- RunInstallerAttribute.cs
- UnSafeCharBuffer.cs
- RowVisual.cs
- __Filters.cs
- BaseHashHelper.cs
- AgileSafeNativeMemoryHandle.cs
- DebugTracing.cs
- BufferedReadStream.cs
- WorkerRequest.cs
- TreeWalkHelper.cs
- TagPrefixCollection.cs
- CharStorage.cs
- EntityTypeBase.cs
- XmlNamespaceMappingCollection.cs
- BindingSource.cs
- StringUtil.cs
- ServiceObjectContainer.cs
- ConstructorBuilder.cs
- FixedTextContainer.cs
- complextypematerializer.cs
- StaticExtensionConverter.cs
- FacetDescription.cs
- UnknownBitmapDecoder.cs
- TextOutput.cs
- PiiTraceSource.cs
- CursorConverter.cs
- CLRBindingWorker.cs
- SqlTrackingWorkflowInstance.cs
- MenuScrollingVisibilityConverter.cs
- GeneralTransform3D.cs
- ManifestResourceInfo.cs
- ContextConfiguration.cs
- ClientApiGenerator.cs
- XmlNodeChangedEventManager.cs
- UnsafeNativeMethods.cs
- WebPartEventArgs.cs
- SqlDataSourceCommandEventArgs.cs
- infer.cs
- CodeDirectoryCompiler.cs
- RuntimeHelpers.cs
- Keyboard.cs
- CTreeGenerator.cs
- ArrayListCollectionBase.cs
- log.cs
- Polyline.cs
- BindingGroup.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- Conditional.cs
- LinqDataSourceValidationException.cs
- KeySpline.cs