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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.