Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractBinding.SetErrorMessage Method

Sets error message that should be displayed in the case of a non-fatal binding error.

[Visual Basic]
Public NotOverridable Sub SetErrorMessage( _
   ByVal messageId As String, _
   ParamArray errorProviders As String _
) _
    Implements IBinding.SetErrorMessage
[C#]
public void SetErrorMessage(
   string messageId,
   params string[] errorProviders
);

Parameters

messageId
Resource ID of the error message.
errorProviders
List of error providers message should be added to.

Implements

IBinding.SetErrorMessage

See Also

AbstractBinding Class | Spring.DataBinding Namespace