ServiceBase.MaxNameLength 欄位

定義

指示服務名稱的最大值。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

欄位值

備註

ServiceName 和 DisplayName 都具有在您的服務類別上設定屬性時必須觀察的大小限制。ServiceName and DisplayName both have size restrictions that must be observed when setting the properties on your service class.

適用於

另請參閱