Occurs when the membership provider cannot create the specified user account.
Namespace:
System.Web.UI.WebControls
Assembly:
System.Web (in System.Web.dll)
Visual Basic (Declaration)
Public Event CreateUserError As CreateUserErrorEventHandler
Dim instance As CreateUserWizard
Dim handler As CreateUserErrorEventHandler
AddHandler instance.CreateUserError, handler
public event CreateUserErrorEventHandler CreateUserError
public:
event CreateUserErrorEventHandler^ CreateUserError {
void add (CreateUserErrorEventHandler^ value);
void remove (CreateUserErrorEventHandler^ value);
}
JScript does not support events.
<asp:CreateUserWizard OnCreateUserError="CreateUserErrorEventHandler" />
The CreateUserError event is raised on the server when the membership provider specified in the MembershipProvider property fails to create the specified user account.
The error handler is passed a MembershipCreateStatus object that contains the details of the failure from the membership provider. For a list of the possible error conditions, see MembershipCreateStatus.
For more information about handling events, see Consuming Events.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.NET Framework
Supported in: 3.5, 3.0, 2.0
Reference
Other Resources