WorkItemFormControl.ShowAllFieldErrors 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 ShowAllFieldErrors ( _
errorCaption As String, _
errorLimit As Integer _
)
public void ShowAllFieldErrors(
string errorCaption,
int errorLimit
)
public:
void ShowAllFieldErrors(
String^ errorCaption,
int errorLimit
)
member ShowAllFieldErrors :
errorCaption:string *
errorLimit:int -> unit
public function ShowAllFieldErrors(
errorCaption : String,
errorLimit : int
)
Parameters
- errorCaption
Type: System.String
- errorLimit
Type: System.Int32
.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