///<summary>Describes a new Win32 service.</summary>
 /// <param name="Name">The name of the service used in the service database.</param>
 /// <param name="DisplayName">The name of the service that will be displayed in the services snap-in.</param>
 public ServiceAttribute(string Name, string DisplayName)
 {
     this.name             = Name;
     this.displayName      = DisplayName;
     this.description      = "";
     this.run              = true;
     this.servType         = ServiceType.Default;
     this.servAccessType   = ServiceAccessType.AllAccess;
     this.servStartType    = ServiceStartType.AutoStart;
     this.servErrorControl = ServiceErrorControl.Normal;
     this.servControls     = ServiceControls.Default;
     this.logName          = "Services";
 }
 ///<summary>Describes a new Win32 service.</summary>
 /// <param name="Name">The name of the service used in the service database.</param>
 public ServiceAttribute(string Name)
 {
     this.name             = Name;
     this.displayName      = Name; //If no display name is specified, then make it the same as the name...
     this.description      = "";
     this.run              = true;
     this.servType         = ServiceType.Default;
     this.servAccessType   = ServiceAccessType.AllAccess;
     this.servStartType    = ServiceStartType.AutoStart;
     this.servErrorControl = ServiceErrorControl.Normal;
     this.servControls     = ServiceControls.Default;
     this.logName          = "Services";
 }
 ///<summary>Describes a new Win32 service.</summary>
 /// <param name="Name">The name of the service used in the service database.</param>
 /// <param name="DisplayName">The name of the service that will be displayed in the services snap-in.</param>
 /// <param name="Description">The description of the service that will be displayed in the service snap-in.</param>
 /// <param name="Run">Indicates if you want the service to run or not on program startup.</param>
 /// <param name="ServiceType">Indicates the type of service you will be running. By default this is "Default."</param>
 /// <param name="ServiceAccessType">Access to the service. Before granting the requested access, the system checks the access token of the calling process.</param>
 /// <param name="ServiceStartType">Service start options. By default this is "AutoStart."</param>
 /// <param name="ServiceErrorControl">Severity of the error, and action taken, if this service fails to start.</param>
 public ServiceAttribute(string Name, string DisplayName, string Description, bool Run, ServiceType ServiceType, ServiceAccessType ServiceAccessType, ServiceStartType ServiceStartType, ServiceErrorControl ServiceErrorControl)
 {
     this.name             = Name;
     this.displayName      = DisplayName;
     this.description      = Description;
     this.run              = Run;
     this.servType         = ServiceType;
     this.servAccessType   = ServiceAccessType.AllAccess;
     this.servStartType    = ServiceStartType;
     this.servErrorControl = ServiceErrorControl.Normal;
     this.servControls     = ServiceControls.Default;
     this.logName          = "Services";
 }