| MSBuild Community Tasks |
| ServiceQuery Members |
| See Also Example Constructors Fields Properties Methods |
|
Task that can determine the status of a specified service on a target server.
The following tables list the members exposed by ServiceQuery.
Public Constructors
| Name | Description | |
|---|---|---|
|
ServiceQuery | Initializes a new instance of the |
Public Fields
| Name | Description | |
|---|---|---|
|
UNKNOWN_STATUS | The unknown |
Public Properties
| Name | Description | |
|---|---|---|
|
BuildEngine | Gets or sets the instance of the |
|
CanPauseAndContinue | Gets a value indicating whether the service can be paused and resumed. |
|
CanShutdown | Gets a value indicating whether the service should be notified when the system is shutting down. |
|
CanStop | Gets a value indicating whether the service can be stopped after it has started. |
|
DisplayName | Gets a friendly name for the service. |
|
Exists | Gets a value indicating whether the service exists. |
|
HostObject | Gets or sets the host object associated with the task. (inherited from Task) |
|
Log | Gets an instance of a |
|
MachineName | Gets or sets the name of the machine. |
|
ServiceName | Gets or sets the name of the service. |
|
Status | Gets or sets the status. |
Protected Properties
| Name | Description | |
|---|---|---|
|
HelpKeywordPrefix | Gets or sets the prefix used to compose Help keywords from resource names. (inherited from Task) |
|
TaskResources | Gets or sets the culture-specific resources associated with the task. (inherited from Task) |
Public Methods
| Name | Description | |
|---|---|---|
|
Equals | Determines whether the specified |
|
Execute | Overidden. Executes the task. |
|
GetHashCode | Serves as a hash function for a particular type. |
|
GetType | Gets the |
|
ToString | Returns a |
Protected Methods
| Name | Description | |
|---|---|---|
|
Finalize | Allows an |
|
GetServiceController | Gets the service controller. |
|
MemberwiseClone | Creates a shallow copy of the current |
See Also
Documentation version 1.0.0.0.