Freigeben über


ScriptExecution.UpdateStages.WithFailureReason Interface

public static interface ScriptExecution.UpdateStages.WithFailureReason

The stage of the ScriptExecution update allowing to specify failureReason.

Method Summary

Modifier and Type Method and Description
abstract Update withFailureReason(String failureReason)

Specifies the failureReason property: Error message if the script was able to run, but if the script itself had errors or powershell threw an exception.

Method Details

withFailureReason

public abstract ScriptExecution.Update withFailureReason(String failureReason)

Specifies the failureReason property: Error message if the script was able to run, but if the script itself had errors or powershell threw an exception.

Parameters:

failureReason - Error message if the script was able to run, but if the script itself had errors or powershell threw an exception.

Returns:

the next definition stage.

Applies to