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
- RoleManagerModule.cs
- XmlImplementation.cs
- SignerInfo.cs
- DbExpressionVisitor_TResultType.cs
- _NativeSSPI.cs
- basemetadatamappingvisitor.cs
- FrameworkPropertyMetadata.cs
- HttpResponseInternalWrapper.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- XPathExpr.cs
- BitmapEffectDrawingContent.cs
- SequentialWorkflowHeaderFooter.cs
- AutoResizedEvent.cs
- TreeNodeSelectionProcessor.cs
- RadialGradientBrush.cs
- Splitter.cs
- AppDomain.cs
- TemplatedWizardStep.cs
- MarkupWriter.cs
- StoreAnnotationsMap.cs
- EdmRelationshipRoleAttribute.cs
- XmlSortKeyAccumulator.cs
- Size.cs
- RecordBuilder.cs
- SrgsGrammarCompiler.cs
- DocumentPageViewAutomationPeer.cs
- DataGridViewCheckBoxColumn.cs
- GroupQuery.cs
- _BasicClient.cs
- LineSegment.cs
- AttributeXamlType.cs
- UIAgentCrashedException.cs
- TableHeaderCell.cs
- StringSource.cs
- SiteIdentityPermission.cs
- TableLayoutPanelCellPosition.cs
- NumberFormatter.cs
- OutputCacheProfileCollection.cs
- SizeConverter.cs
- DeclarativeCatalogPart.cs
- DataGridViewCheckBoxCell.cs
- StatusBarItemAutomationPeer.cs
- ScrollableControl.cs
- exports.cs
- DataControlButton.cs
- DataGridViewColumnCollection.cs
- Pts.cs
- Subtree.cs
- ImageAnimator.cs
- OdbcErrorCollection.cs
- ComponentCodeDomSerializer.cs
- SetStoryboardSpeedRatio.cs
- ResolveCriteriaApril2005.cs
- GridViewHeaderRowPresenter.cs
- DocumentScope.cs
- Quack.cs
- CompilationRelaxations.cs
- XmlSubtreeReader.cs
- CodeObject.cs
- NativeObjectSecurity.cs
- ParameterCollectionEditor.cs
- WebRequestModulesSection.cs
- InputReport.cs
- SchemaImporterExtension.cs
- StandardOleMarshalObject.cs
- ExtendedPropertyCollection.cs
- ZipIORawDataFileBlock.cs
- RepeatInfo.cs
- Utils.cs
- BooleanFacetDescriptionElement.cs
- HtmlTableRow.cs
- CodeCompiler.cs
- MetadataArtifactLoader.cs
- RenderDataDrawingContext.cs
- IntegrationExceptionEventArgs.cs
- FormsAuthenticationTicket.cs
- DeclaredTypeElementCollection.cs
- XslAst.cs
- StringSorter.cs
- CodeEntryPointMethod.cs
- Win32.cs
- HtmlInputRadioButton.cs
- StaticSiteMapProvider.cs
- WorkflowApplicationIdleEventArgs.cs
- SymmetricKeyWrap.cs
- cookieexception.cs
- _KerberosClient.cs
- ColumnClickEvent.cs
- BindableTemplateBuilder.cs
- SchemaCollectionPreprocessor.cs
- VariableExpressionConverter.cs
- HwndSubclass.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- DataTableClearEvent.cs
- _DomainName.cs
- WithParamAction.cs
- Int32CollectionValueSerializer.cs
- SmtpCommands.cs
- ConnectionStringEditor.cs
- XPathMultyIterator.cs