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
- SchemaAttDef.cs
- RuleAttributes.cs
- DbExpressionVisitor.cs
- Tablet.cs
- ImageMetadata.cs
- ReflectionPermission.cs
- WithParamAction.cs
- CheckBoxList.cs
- SerializationSectionGroup.cs
- HandleCollector.cs
- AdPostCacheSubstitution.cs
- PropertyRef.cs
- IssuanceTokenProviderBase.cs
- SegmentInfo.cs
- X509Utils.cs
- DataListItem.cs
- BuilderPropertyEntry.cs
- HuffModule.cs
- NumberFunctions.cs
- HwndHostAutomationPeer.cs
- DataGridLength.cs
- SharedPersonalizationStateInfo.cs
- UInt32Converter.cs
- ObjectContextServiceProvider.cs
- CustomErrorCollection.cs
- XmlSerializationWriter.cs
- WsatServiceAddress.cs
- Pair.cs
- TransformerTypeCollection.cs
- UriExt.cs
- Error.cs
- SoapCodeExporter.cs
- HwndAppCommandInputProvider.cs
- TableStyle.cs
- TextEditorMouse.cs
- DataPointer.cs
- XamlFigureLengthSerializer.cs
- FileChangeNotifier.cs
- EditorResources.cs
- QueryOutputWriter.cs
- BookmarkUndoUnit.cs
- WebPartEditorApplyVerb.cs
- HandoffBehavior.cs
- SessionStateModule.cs
- FontInfo.cs
- BaseDataListDesigner.cs
- CodeDOMProvider.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- RegexGroup.cs
- ReadingWritingEntityEventArgs.cs
- BamlCollectionHolder.cs
- TrackingProfile.cs
- CommentEmitter.cs
- KeyFrames.cs
- ExpressionBinding.cs
- MeasureItemEvent.cs
- ObjectQuery_EntitySqlExtensions.cs
- FontStretches.cs
- FlowLayoutSettings.cs
- StatusBarPanel.cs
- TransactionProxy.cs
- MiniMapControl.xaml.cs
- ListItemCollection.cs
- ReadOnlyHierarchicalDataSourceView.cs
- JournalEntryStack.cs
- ByeOperationCD1AsyncResult.cs
- Operator.cs
- Stream.cs
- TreeViewHitTestInfo.cs
- EventLogPermissionAttribute.cs
- tibetanshape.cs
- TextSchema.cs
- C14NUtil.cs
- PolicyChain.cs
- StringCollection.cs
- StoreUtilities.cs
- XmlStreamStore.cs
- XmlTypeAttribute.cs
- EnumUnknown.cs
- ScriptComponentDescriptor.cs
- HiddenFieldDesigner.cs
- FixedSOMFixedBlock.cs
- TriggerActionCollection.cs
- LocatorPart.cs
- ItemsControl.cs
- ColumnWidthChangedEvent.cs
- ConvertEvent.cs
- KeyInstance.cs
- LZCodec.cs
- OleDbCommand.cs
- HtmlTableCell.cs
- ScriptBehaviorDescriptor.cs
- ObjectStorage.cs
- URLEditor.cs
- FormViewRow.cs
- SimpleBitVector32.cs
- KeyInterop.cs
- EdmComplexTypeAttribute.cs
- RoutedCommand.cs
- SQLCharsStorage.cs