Redigera

Dela via


CreateUserWizard.CreateUserError Event

Definition

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

public:
 event System::Web::UI::WebControls::CreateUserErrorEventHandler ^ CreateUserError;
public event System.Web.UI.WebControls.CreateUserErrorEventHandler CreateUserError;
member this.CreateUserError : System.Web.UI.WebControls.CreateUserErrorEventHandler 
Public Custom Event CreateUserError As CreateUserErrorEventHandler 

Event Type

Remarks

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 how to handle events, see Handling and Raising Events.

Applies to

See also