Method StartAsync
StartAsync()
Asynchronously starts the local geoprocessing service.
Declaration
public override Task StartAsync()
Returns
Type | Description |
---|---|
System. |
A task that represents the asynchronous start operation. |
Overrides
Remarks
The StartAsyncTask method will check whether this local service is already in the Started state and
raise an System.
Exceptions
Type | Condition |
---|---|
System. |
StartAsyncTask should can not be called if the local service is already in the Started state. |
System. |
An exception is raised if the Package |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Windows | 100.13 - 200.6 |
.NET Framework | 100.0 - 200.6 |
StartAsync(CancellationToken)
Asynchronously starts the local geoprocessing service.
Declaration
public override Task StartAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System. |
cancellationToken | The token to monitor for cancellation requests. The default value is System. |
Returns
Type | Description |
---|---|
System. |
A task that represents the asynchronous start operation. |
Overrides
Remarks
The StartAsyncTask method will check whether this local service is already in the Started state and
raise an System.
Exceptions
Type | Condition |
---|---|
System. |
StartAsyncTask should can not be called if the local service is already in the Started state. |
System. |
An exception is raised if the Package |
System. |
The operation was cancelled |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Windows | 100.13 - 200.6 |
.NET Framework | 100.13 - 200.6 |