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
- XmlSecureResolver.cs
- OdbcReferenceCollection.cs
- BaseAppDomainProtocolHandler.cs
- NativeMethods.cs
- WebPartVerbCollection.cs
- SslStream.cs
- SizeLimitedCache.cs
- Group.cs
- MergePropertyDescriptor.cs
- ExtendedPropertyDescriptor.cs
- MailHeaderInfo.cs
- SecurityTokenAuthenticator.cs
- ColorConvertedBitmapExtension.cs
- DeviceContext2.cs
- ListViewCancelEventArgs.cs
- SecurityContextSecurityTokenParameters.cs
- AsyncPostBackTrigger.cs
- ContentFileHelper.cs
- NullReferenceException.cs
- MdiWindowListItemConverter.cs
- NavigatingCancelEventArgs.cs
- IsolatedStorageSecurityState.cs
- ResourceReferenceKeyNotFoundException.cs
- Hashtable.cs
- SafeNativeMethods.cs
- TiffBitmapDecoder.cs
- SmiContextFactory.cs
- GradientStop.cs
- MiniParameterInfo.cs
- ZoomPercentageConverter.cs
- NullableDoubleSumAggregationOperator.cs
- SqlDataSourceCache.cs
- TextBoxBase.cs
- GridPatternIdentifiers.cs
- MemoryPressure.cs
- DebuggerService.cs
- ConnectionManagementSection.cs
- ZoneMembershipCondition.cs
- RemotingConfiguration.cs
- RouteParameter.cs
- SubpageParaClient.cs
- EnumValidator.cs
- SiteMapNodeItemEventArgs.cs
- NotifyCollectionChangedEventArgs.cs
- LocalBuilder.cs
- OuterGlowBitmapEffect.cs
- ResourceKey.cs
- Queue.cs
- XmlSchemaSimpleTypeUnion.cs
- WSFederationHttpBindingElement.cs
- TextEffectResolver.cs
- TableAutomationPeer.cs
- X509Certificate.cs
- _WinHttpWebProxyDataBuilder.cs
- ObjectCloneHelper.cs
- StopStoryboard.cs
- ConfigurationProperty.cs
- KeySplineConverter.cs
- DataGridViewTopLeftHeaderCell.cs
- PartitionResolver.cs
- XmlObjectSerializerWriteContextComplex.cs
- PartialTrustVisibleAssembly.cs
- AddInController.cs
- TargetInvocationException.cs
- SqlDataSourceCache.cs
- DataGridViewRowPrePaintEventArgs.cs
- EditorZoneAutoFormat.cs
- MSAAEventDispatcher.cs
- NullReferenceException.cs
- ChoiceConverter.cs
- DescendantOverDescendantQuery.cs
- ListDataBindEventArgs.cs
- UIElement3D.cs
- CommandBindingCollection.cs
- SecurityPermission.cs
- DependencyObjectProvider.cs
- NullableIntMinMaxAggregationOperator.cs
- Command.cs
- Point4DValueSerializer.cs
- EventLogPermissionAttribute.cs
- SqlBuilder.cs
- XmlElementList.cs
- BindingList.cs
- RuleConditionDialog.Designer.cs
- JavaScriptSerializer.cs
- CurrentChangingEventManager.cs
- LingerOption.cs
- AssemblyBuilderData.cs
- ApplicationFileCodeDomTreeGenerator.cs
- StringArrayConverter.cs
- DataServiceQueryProvider.cs
- ColorMap.cs
- StandardToolWindows.cs
- TraceSource.cs
- ProtocolsConfigurationEntry.cs
- InstanceOwnerQueryResult.cs
- SoundPlayer.cs
- AnnotationDocumentPaginator.cs
- MouseEventArgs.cs
- FlowDocumentView.cs