Skip to content

PSWebApi.OwinSample.1.1.6-beta

Pre-release
Pre-release
Compare
Choose a tag to compare
@AbelCheng AbelCheng released this 15 Dec 18:50
· 23 commits to master since this release

1.1.6-beta

Added Asynchronous Methods with CancellationToken support.

  • public async static Task<HttpResponseMessage> InvokePowerShellAsync(this ApiController apiController, string scriptPath, IEnumerable<KeyValuePair<string, object>> parameters, CancellationToken cancellationToken)
    Allow to stop a long running execution of the pipeline.
  • public static async Task<HttpResponseMessage> InvokeCmdAsync(this ApiController apiController, string scriptPath, string arguments, CancellationToken cancellationToken)
    Allow to kill a long running process.