ServiceBase.MaxNameLength Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates the maximum size for a service name.
public: int MaxNameLength = 80;
public const int MaxNameLength = 80;
val mutable MaxNameLength : int
Public Const MaxNameLength As Integer = 80
Field Value
Value = 80Remarks
ServiceName and DisplayName both have size restrictions that must be observed when setting the properties on your service class.
Applies to
See also
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.