You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Asynchronously invokes the PowerShell script by using the supplied input parameters.
20
+
/// Asynchronously invokes a PowerShell script by using the supplied input parameters.
21
21
/// </summary>
22
22
/// <param name="apiController">The ApiController. This is an extension method to ApiController, when you use instance method syntax to call this method, omit this parameter.</param>
23
23
/// <param name="scriptPath">The fully qualified location of the PowerShell script to be run.</param>
24
24
/// <param name="parameters">A set of parameters to the PowerShell script. The parameter names and values are taken from the keys and values of a collection.</param>
25
-
/// <param name="cancellationToken"></param>
26
-
/// <returns></returns>
25
+
/// <param name="cancellationToken">The cancellation token can be used to request that the operation be abandoned before completing the execution. Exceptions will be reported via the returned Task object.</param>
26
+
/// <returns>A task representing the asynchronous operation.</returns>
/// Asynchronously invokes a Windows batch file or executable file by using a set of command-line arguments.
81
+
/// </summary>
82
+
/// <param name="apiController">The ApiController. This is an extension method to ApiController, when you use instance method syntax to call this method, omit this parameter.</param>
83
+
/// <param name="scriptPath">The fully qualified location of an application file (batch file or executable file) to be executed.</param>
84
+
/// <param name="arguments">Command-line arguments to pass when starting the process.</param>
85
+
/// <param name="cancellationToken">The cancellation token can be used to request that the operation be abandoned before completing the execution. Exceptions will be reported via the returned Task object.</param>
86
+
/// <returns>A task representing the asynchronous operation.</returns>
/// Consolidates all the arguments from uri query string and HTTP POST body (if any), as a single string of Command-line arguments.
19
+
/// </summary>
20
+
/// <param name="request">The HTTP request where the uri query string part of arguments will be extracted from. This is an extension method to HttpRequestMessage, when you use instance method syntax to call this method, omit this parameter.</param>
21
+
/// <param name="argsFromBody">A set of raw arguments from HTTP POST body.</param>
22
+
/// <param name="funcQuoteArgument">A transform function to apply to each raw argument.</param>
23
+
/// <returns>A single string of Command-line arguments.</returns>
/// Consolidates all the arguments from uri query string and HTTP POST body (if any), as a single string of Command-line arguments.
32
+
/// </summary>
33
+
/// <param name="request">The HTTP request where the uri query string part of arguments will be extracted from. This is an extension method to HttpRequestMessage, when you use instance method syntax to call this method, omit this parameter.</param>
34
+
/// <param name="argsFromBody">A set of raw arguments from HTTP POST body.</param>
35
+
/// <param name="funcQuoteArgument">A transform function to apply to each raw argument.</param>
36
+
/// <returns>A single string of Command-line arguments.</returns>
/// Consolidates all the arguments from uri query string and HTTP POST body (if any), as a single string of Command-line arguments.
45
+
/// </summary>
46
+
/// <param name="request">The HTTP request where the uri query string part of arguments will be extracted from. This is an extension method to HttpRequestMessage, when you use instance method syntax to call this method, omit this parameter.</param>
47
+
/// <param name="argsFromBody">A set of raw arguments from HTTP POST body (JSON).</param>
48
+
/// <param name="funcQuoteArgument">A transform function to apply to each raw argument.</param>
49
+
/// <returns>A single string of Command-line arguments.</returns>
/// Synchronously invokes a Windows batch file or executable file by using a set of command-line arguments.
58
+
/// </summary>
59
+
/// <param name="apiController">The ApiController. This is an extension method to ApiController, when you use instance method syntax to call this method, omit this parameter.</param>
60
+
/// <param name="scriptPath">The fully qualified location of an application file (batch file or executable file) to be executed.</param>
61
+
/// <param name="arguments">Command-line arguments to pass when starting the process.</param>
62
+
/// <param name="timeoutSeconds">The time in seconds to wait for the command to execute before terminating the attempt to execute a command and generating an error.</param>
63
+
/// <returns>A complete HttpResponseMessage contains the standard output (stdout) if the application runs successfully, Otherwise, the standard error (stderr).</returns>
Copy file name to clipboardExpand all lines: src/DataBooster.PSWebApi/PSControllerExtensions.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ static PSControllerExtensions()
34
34
}
35
35
36
36
/// <summary>
37
-
/// Gathers input parameters from uri query string and concatenates with HTTP POST body.
37
+
/// Gathers input parameters from uri query string and concatenates with JSON parameters from HTTP POST body.
38
38
/// </summary>
39
39
/// <param name="request">The HTTP request. This is an extension method to HttpRequestMessage, when you use instance method syntax to call this method, omit this parameter.</param>
40
40
/// <param name="parametersFromBody">The parameters read from body.</param>
0 commit comments