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 {
	void add(CreateUserErrorEventHandler^ value);
	void remove(CreateUserErrorEventHandler^ value);
}

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 NIB: Consuming Events.

.NET Framework
Available since 2.0
Return to top
Show: