PowerShellScriptResource Methods
Class Methods 2 members
Represents a PowerShell script resource.
Breaks the PowerShell script execution.
public class PowerShellScriptResource{ public Task<bool> BreakAsync() { // ... }}StartAsync(ILogger, ResourceNotificationService, CancellationToken) Section titled StartAsync(ILogger, ResourceNotificationService, CancellationToken) Task Starts the PowerShell script execution.
public class PowerShellScriptResource{ public Task StartAsync( ILogger scriptLogger, ResourceNotificationService notificationService, CancellationToken cancellationToken = default(CancellationToken)) { // ... }}Parameters
scriptLogger ILogger notificationService ResourceNotificationService cancellationToken CancellationToken optional Exceptions
ArgumentOutOfRangeException