SPPageStateControl.AddErrorStatus method
Add an error message to the status that is permanent for the current page rendering, notably a validation error that can only be remedied by another postback.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub AddErrorStatus ( _
msg As String _
)
'Usage
Dim instance As SPPageStateControl
Dim msg As String
instance.AddErrorStatus(msg)
public void AddErrorStatus(
string msg
)
Parameters
- msg
Type: System.String