Method SetError SetError(string) Setting the error message Declaration public void SetError(string error) Parameters Type Name Description string error Error message