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
- DataGridToolTip.cs
- Root.cs
- GridProviderWrapper.cs
- AxHost.cs
- BreakRecordTable.cs
- RecognizedAudio.cs
- TranslateTransform.cs
- PropertyBuilder.cs
- input.cs
- ImageListUtils.cs
- ZipIORawDataFileBlock.cs
- PermissionSetTriple.cs
- DataBinding.cs
- ValueTable.cs
- DataService.cs
- TraceContext.cs
- ConsumerConnectionPointCollection.cs
- ConnectionPointGlyph.cs
- MetaForeignKeyColumn.cs
- ConfigXmlSignificantWhitespace.cs
- AttributeUsageAttribute.cs
- Site.cs
- NativeMethods.cs
- RequestCache.cs
- BinaryFormatter.cs
- InsufficientMemoryException.cs
- TextBoxDesigner.cs
- TypeHelpers.cs
- PassportAuthentication.cs
- QueueAccessMode.cs
- XmlSchemaParticle.cs
- DbParameterHelper.cs
- WsrmTraceRecord.cs
- XmlWrappingReader.cs
- ToolStripItemTextRenderEventArgs.cs
- MsmqBindingFilter.cs
- ImageCollectionEditor.cs
- UICuesEvent.cs
- ModelEditingScope.cs
- ParseChildrenAsPropertiesAttribute.cs
- Unit.cs
- FixedSOMContainer.cs
- CodeObject.cs
- TextModifier.cs
- EntityContainerAssociationSet.cs
- IndexedGlyphRun.cs
- Baml2006Reader.cs
- CqlErrorHelper.cs
- ListItemCollection.cs
- SelectionPatternIdentifiers.cs
- XPathException.cs
- Soap.cs
- OutputCacheModule.cs
- FileReader.cs
- DockAndAnchorLayout.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- PackageDigitalSignature.cs
- XmlReflectionMember.cs
- MultitargetingHelpers.cs
- ToolStripDropDown.cs
- URLAttribute.cs
- RemotingAttributes.cs
- Configuration.cs
- DoubleKeyFrameCollection.cs
- AssemblyInfo.cs
- NetTcpBindingElement.cs
- HealthMonitoringSection.cs
- OrderByBuilder.cs
- Rules.cs
- Transactions.cs
- PaperSize.cs
- SchemaEntity.cs
- HtmlInputReset.cs
- QueryStringParameter.cs
- HorizontalAlignConverter.cs
- GridViewItemAutomationPeer.cs
- MyContact.cs
- PrincipalPermission.cs
- ResourceExpressionEditorSheet.cs
- WindowsIdentity.cs
- SeekStoryboard.cs
- LoginCancelEventArgs.cs
- followingsibling.cs
- ValuePattern.cs
- SchemaElementDecl.cs
- Method.cs
- PtsHelper.cs
- BindingValueChangedEventArgs.cs
- AccessibilityApplicationManager.cs
- CodePropertyReferenceExpression.cs
- URLIdentityPermission.cs
- DefaultHttpHandler.cs
- TextTreeDeleteContentUndoUnit.cs
- TdsParameterSetter.cs
- OleAutBinder.cs
- OperandQuery.cs
- XmlFormatExtensionAttribute.cs
- SelectorItemAutomationPeer.cs
- SymbolTable.cs
- ContextQuery.cs