ErrorRecord.ErrorDetails Property

Gets and sets more detailed error information, such as a replacement error message.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As ErrorRecord
Dim value As ErrorDetails

value = instance.ErrorDetails

instance.ErrorDetails = value

public ErrorDetails ErrorDetails { get; set; }
/** @property */
public ErrorDetails get_ErrorDetails ()

/** @property */
public void set_ErrorDetails (ErrorDetails value)

public function get ErrorDetails () : ErrorDetails

public function set ErrorDetails (value : ErrorDetails)

Property Value

An ErrorDetails object that contains detailed error information.

For more information about error records, see Windows PowerShell Error Records.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft