CreateUserError Event

CreateUserWizard.CreateUserError Event

Occurs when the membership provider cannot create the specified user account.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

public event CreateUserErrorEventHandler CreateUserError
/** @event */
public void add_CreateUserError (CreateUserErrorEventHandler value)

/** @event */
public void remove_CreateUserError (CreateUserErrorEventHandler value)

In JScript, you can handle the events defined by a class, but you cannot define your own.
Not applicable.

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 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

© 2015 Microsoft