Gets the service object of the specified type, given by type name.
Syntax
Parameters
- serviceTypeName
- The name of the type of service object to get.
The value of this parameter can be null
(Nothing
in Visual Basic).
Return Value
A service object of type given by .
-or-
null
if there is no service object of given type.
This method can return null
(Nothing
in Visual Basic).
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also