MembershipPasswordAttribute.FormatErrorMessage Method (String)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

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
Show: