Sdílet prostřednictvím


Job.Error Property

Definition

Gets or sets the error buffer. Errors of job are written into this buffer.

public:
 property System::Management::Automation::PSDataCollection<System::Management::Automation::ErrorRecord ^> ^ Error { System::Management::Automation::PSDataCollection<System::Management::Automation::ErrorRecord ^> ^ get(); void set(System::Management::Automation::PSDataCollection<System::Management::Automation::ErrorRecord ^> ^ value); };
public System.Management.Automation.PSDataCollection<System.Management.Automation.ErrorRecord> Error { get; set; }
member this.Error : System.Management.Automation.PSDataCollection<System.Management.Automation.ErrorRecord> with get, set
Public Property Error As PSDataCollection(Of ErrorRecord)

Property Value

Exceptions

Cannot set to a null value.

Object is disposed.

Applies to