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
Col·laboreu amb nosaltres a GitHub
La font d'aquest contingut es pot trobar al GitHub, on també podeu crear i revisar problemes i sol·licituds d'extracció. Per obtenir més informació, consulteu la nostra guia per a col·laboradors.