ServiceBase.MaxNameLength Field

Definition

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

Remarks

ServiceName and DisplayName both have size restrictions that must be observed when setting the properties on your service class.

Applies to

See also