Share via


MembershipPasswordAttribute.FormatErrorMessage(String) 方法

定义

根据发生错误的数据字段的已提供的 name,对错误消息应用格式设置。

public:
 override System::String ^ FormatErrorMessage(System::String ^ name);
public override string FormatErrorMessage (string name);
override this.FormatErrorMessage : string -> string
Public Overrides Function FormatErrorMessage (name As String) As String

参数

name
String

要包括在带有格式的消息中的名称。

返回

带有格式的错误消息。

适用于