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
- DtrList.cs
- OutputWindow.cs
- FileSystemWatcher.cs
- ConnectionPoint.cs
- CodeSubDirectory.cs
- EnumDataContract.cs
- ContentPresenter.cs
- SqlInternalConnection.cs
- smtpconnection.cs
- CompilerErrorCollection.cs
- figurelengthconverter.cs
- AxisAngleRotation3D.cs
- documentsequencetextcontainer.cs
- ColorTransform.cs
- HMACSHA256.cs
- MediaElementAutomationPeer.cs
- XmlHelper.cs
- NotifyCollectionChangedEventArgs.cs
- DocumentPageView.cs
- XmlDownloadManager.cs
- DataControlCommands.cs
- AdornedElementPlaceholder.cs
- ProviderSettingsCollection.cs
- SubtreeProcessor.cs
- _TLSstream.cs
- XmlSequenceWriter.cs
- OrderByLifter.cs
- RowType.cs
- UnsafeNetInfoNativeMethods.cs
- SimpleType.cs
- ToolStripRenderEventArgs.cs
- Debug.cs
- Executor.cs
- xmlglyphRunInfo.cs
- GradientStop.cs
- Interlocked.cs
- DefaultAuthorizationContext.cs
- PictureBoxDesigner.cs
- TypefaceMap.cs
- SmiContext.cs
- EditingCommands.cs
- CodeMethodInvokeExpression.cs
- Storyboard.cs
- RandomDelaySendsAsyncResult.cs
- BitmapCodecInfo.cs
- ControlUtil.cs
- TextElementEditingBehaviorAttribute.cs
- HashCodeCombiner.cs
- DateTime.cs
- glyphs.cs
- TextPenaltyModule.cs
- ToolStripDropTargetManager.cs
- TraceHandler.cs
- BamlTreeMap.cs
- HostProtectionPermission.cs
- QueryResponse.cs
- ControlLocalizer.cs
- _NTAuthentication.cs
- BinaryObjectInfo.cs
- RsaSecurityKey.cs
- CSharpCodeProvider.cs
- JoinCqlBlock.cs
- _NTAuthentication.cs
- FileLoadException.cs
- ObjectViewListener.cs
- ControlCachePolicy.cs
- XmlNamedNodeMap.cs
- WinFormsComponentEditor.cs
- BinaryObjectWriter.cs
- PublisherIdentityPermission.cs
- SqlCacheDependencyDatabaseCollection.cs
- XslVisitor.cs
- HtmlHistory.cs
- MenuItemCollectionEditor.cs
- ImageCodecInfoPrivate.cs
- Int32KeyFrameCollection.cs
- GuidelineSet.cs
- XamlToRtfWriter.cs
- CollectionViewGroupRoot.cs
- DebugView.cs
- ObfuscateAssemblyAttribute.cs
- RefreshEventArgs.cs
- SecurityKeyIdentifier.cs
- AsymmetricSignatureFormatter.cs
- DataGridViewRowsAddedEventArgs.cs
- ListViewGroup.cs
- AddInProcess.cs
- Schema.cs
- BindingNavigator.cs
- MetadataSet.cs
- StringResourceManager.cs
- CrossSiteScriptingValidation.cs
- XmlChildEnumerator.cs
- EntryIndex.cs
- IgnoreFileBuildProvider.cs
- StorageAssociationSetMapping.cs
- Predicate.cs
- XmlSchemaObjectTable.cs
- Win32Exception.cs
- HttpChannelBindingToken.cs