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
- RightsManagementManager.cs
- IEnumerable.cs
- DependencyPropertyDescriptor.cs
- DynamicResourceExtensionConverter.cs
- HttpResponseInternalBase.cs
- FlowchartDesigner.xaml.cs
- DesignerUtility.cs
- ItemsPanelTemplate.cs
- TextEditorParagraphs.cs
- GradientStop.cs
- DefaultValueConverter.cs
- TypedRowHandler.cs
- ServiceXNameTypeConverter.cs
- WebServiceReceive.cs
- TreeNodeSelectionProcessor.cs
- PieceNameHelper.cs
- BrowserCapabilitiesFactory.cs
- Logging.cs
- DispatcherHookEventArgs.cs
- SweepDirectionValidation.cs
- FillErrorEventArgs.cs
- CapabilitiesPattern.cs
- AnnotationResource.cs
- Substitution.cs
- x509store.cs
- IDispatchConstantAttribute.cs
- peersecurityelement.cs
- ExecutionContext.cs
- AspNetSynchronizationContext.cs
- BCryptSafeHandles.cs
- QuaternionValueSerializer.cs
- KernelTypeValidation.cs
- WebBaseEventKeyComparer.cs
- ComponentResourceKeyConverter.cs
- Utils.cs
- SafeFileMappingHandle.cs
- ThemeDirectoryCompiler.cs
- StrokeNodeOperations2.cs
- ObjectListDesigner.cs
- WeakHashtable.cs
- QueryStringParameter.cs
- SessionChannels.cs
- SimpleMailWebEventProvider.cs
- _IPv4Address.cs
- ObjectMemberMapping.cs
- OneOfConst.cs
- WebPartMenuStyle.cs
- XmlDataSourceView.cs
- ControlUtil.cs
- KoreanCalendar.cs
- BitmapEffectDrawing.cs
- TextParagraphView.cs
- RectangleGeometry.cs
- DbConnectionOptions.cs
- CounterSet.cs
- CreatingCookieEventArgs.cs
- FieldAccessException.cs
- IListConverters.cs
- TextReader.cs
- ParallelEnumerable.cs
- WpfXamlLoader.cs
- StreamWithDictionary.cs
- ArrayWithOffset.cs
- CollectionBase.cs
- CheckBoxStandardAdapter.cs
- ClientEventManager.cs
- GridViewEditEventArgs.cs
- Panel.cs
- Trigger.cs
- WmlPanelAdapter.cs
- Point3DAnimation.cs
- DataServiceContext.cs
- ArcSegment.cs
- PropertyGrid.cs
- RightsManagementLicense.cs
- XamlReader.cs
- TextServicesCompartment.cs
- CollectionChangeEventArgs.cs
- BindingListCollectionView.cs
- DataStreams.cs
- QueryPageSettingsEventArgs.cs
- SQLChars.cs
- CellRelation.cs
- FixedSOMTableRow.cs
- CacheModeValueSerializer.cs
- _SpnDictionary.cs
- MarshalByValueComponent.cs
- ObjectDataSourceSelectingEventArgs.cs
- DataView.cs
- MasterPage.cs
- ProxyWebPart.cs
- MarkupCompilePass1.cs
- PanelDesigner.cs
- Pool.cs
- RequiredAttributeAttribute.cs
- Resources.Designer.cs
- TableStyle.cs
- Dump.cs
- TiffBitmapEncoder.cs
- WebPartDisplayModeCollection.cs