System.Web.Profile.ProfileEventArgs Class

Provides data for the ProfileModule.Personalize event of the System.Web.Profile.ProfileModule class.

See Also: ProfileEventArgs Members


public sealed class ProfileEventArgs : EventArgs


You can use the System.Web.Profile.ProfileEventArgs class during the ProfileModule.Personalize event to specify a custom user profile. If, when the ProfileModule.Personalize event completes, the System.Web.Profile.ProfileEventArgs parameter of the System.Web.Profile.ProfileEventHandler has its ProfileEventArgs.Profile property set to a value that’s not null, then the System.Web.Profile.ProfileModule uses the value of the ProfileEventArgs.Profile property in the current System.Web.HttpContext.


Namespace: System.Web.Profile
Assembly: System.Web (in System.Web.dll)
Assembly Versions:
Since: .NET 2.0