Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- BaseParaClient.cs
- ControlEvent.cs
- GridViewDeleteEventArgs.cs
- PageAsyncTaskManager.cs
- ExtractedStateEntry.cs
- XXXInfos.cs
- TextElementEnumerator.cs
- EntityContainer.cs
- CodeTypeParameter.cs
- _SslSessionsCache.cs
- SqlEnums.cs
- HttpRequest.cs
- DeviceContext.cs
- MenuStrip.cs
- PlainXmlWriter.cs
- ReadOnlyTernaryTree.cs
- FontEmbeddingManager.cs
- ValidationHelpers.cs
- RegexFCD.cs
- SystemFonts.cs
- DetailsViewRowCollection.cs
- WCFServiceClientProxyGenerator.cs
- CapabilitiesSection.cs
- XmlSchemaSimpleTypeList.cs
- BaseAsyncResult.cs
- HwndSourceParameters.cs
- ScriptManager.cs
- PEFileEvidenceFactory.cs
- StylusCaptureWithinProperty.cs
- MultiByteCodec.cs
- QueryReaderSettings.cs
- SByteStorage.cs
- Int16Converter.cs
- InputReport.cs
- SystemIcmpV4Statistics.cs
- SplitterEvent.cs
- AmbientValueAttribute.cs
- TemplatedAdorner.cs
- Match.cs
- SerializerDescriptor.cs
- XsdDataContractExporter.cs
- TransportBindingElementImporter.cs
- ListViewDeleteEventArgs.cs
- PropertyDescriptorCollection.cs
- ReferenceConverter.cs
- IOException.cs
- DetailsViewInsertedEventArgs.cs
- AnnotationObservableCollection.cs
- TextModifierScope.cs
- TransactionException.cs
- CompiledRegexRunner.cs
- DataControlFieldTypeEditor.cs
- ListViewItem.cs
- XhtmlBasicTextBoxAdapter.cs
- SafeReversePInvokeHandle.cs
- ZipArchive.cs
- CustomErrorCollection.cs
- XmlElementAttribute.cs
- StandardCommands.cs
- ModelFactory.cs
- OptimalBreakSession.cs
- ExpressionBuilderContext.cs
- CustomErrorCollection.cs
- ColorContextHelper.cs
- UnknownWrapper.cs
- SamlAuthorizationDecisionClaimResource.cs
- login.cs
- XmlSchemaSimpleTypeRestriction.cs
- XmlSignificantWhitespace.cs
- DataGridViewCellCancelEventArgs.cs
- DbDataAdapter.cs
- Random.cs
- XamlVector3DCollectionSerializer.cs
- StrongNameKeyPair.cs
- ImageKeyConverter.cs
- VariableAction.cs
- FieldBuilder.cs
- WebContext.cs
- PeerCredential.cs
- CustomErrorsSection.cs
- CachedTypeface.cs
- Executor.cs
- GeneralTransform3DTo2DTo3D.cs
- EnterpriseServicesHelper.cs
- Rotation3D.cs
- XslAst.cs
- TableCellAutomationPeer.cs
- Constants.cs
- RuleSettingsCollection.cs
- ScalarType.cs
- WebContext.cs
- InstanceHandleConflictException.cs
- _ListenerRequestStream.cs
- DataViewListener.cs
- RelationshipSet.cs
- RegexCompilationInfo.cs
- ObjectDataSourceStatusEventArgs.cs
- AnnouncementClient.cs
- ConnectionOrientedTransportChannelFactory.cs
- CodeComment.cs