Partilhar via


IScriptExecutionProperties.FailureReason Property

Definition

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

[Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.Info(Create=true, Description="Error message if the script was able to run, but if the script itself had errors or powershell threw an exception", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=false, Required=false, SerializedName="failureReason", Update=true)]
public string FailureReason { get; set; }
[Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.Info(Create=true, Description="Error message if the script was able to run, but if the script itself had\r\n        errors or powershell threw an exception", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=false, Required=false, SerializedName="failureReason", Update=true)]
public string FailureReason { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.Info(Create=true, Description="Error message if the script was able to run, but if the script itself had errors or powershell threw an exception", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=false, Required=false, SerializedName="failureReason", Update=true)>]
member this.FailureReason : string with get, set
[<Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.Info(Create=true, Description="Error message if the script was able to run, but if the script itself had\r\n        errors or powershell threw an exception", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=false, Required=false, SerializedName="failureReason", Update=true)>]
member this.FailureReason : string with get, set
Public Property FailureReason As String

Property Value

Attributes

Applies to