MembershipPasswordAttribute.FormatErrorMessage Method (String)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Applies formatting to an error message based on the provided name of the data field where the error occurred.

Namespace:   System.Web.Security
Assembly:  System.Web (in System.Web.dll)

public override string FormatErrorMessage(
	string name


Type: System.String

The name to include in the formatted message.

Return Value

Type: System.String

The formatted error message.

.NET Framework
Available since 4.5
Return to top