WorkItemFormControl.HandleFirstFieldError Method
Sets focus to the first field that has an error and show the error message.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Controls
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Controls (in Microsoft.TeamFoundation.WorkItemTracking.Controls.dll)
Syntax
'Declaration
Public Sub HandleFirstFieldError ( _
errorCaption As String _
)
public void HandleFirstFieldError(
string errorCaption
)
public:
void HandleFirstFieldError(
String^ errorCaption
)
member HandleFirstFieldError :
errorCaption:string -> unit
public function HandleFirstFieldError(
errorCaption : String
)
Parameters
- errorCaption
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.TeamFoundation.WorkItemTracking.Controls Namespace