Assembly: System.Web (in system.web.dll)
/** @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.
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.