MSDN does not have information that ServiceController properties and methods can throw 'System.InvalidOperationException' when service name is incorrect.
Example:
ServiceController sc = new ServiceController("Test Service")
String name = sc.DisplayName
This code will throw an 'System.InvalidOperationException' exception if you don't have "Test Service" service on your computer.