ServiceBase::MaxNameLength Field
.NET Framework (current version)
Indicates the maximum size for a service name.
Assembly: System.ServiceProcess (in System.ServiceProcess.dll)
ServiceName and DisplayName both have size restrictions that must be observed when setting the properties on your service class.
.NET Framework
Available since 1.1
Available since 1.1
Show: