SPCmdlet.ThrowTerminatingError method
Writes the details of a terminating error to the screen as an error message and logs the details in a log file.
Overload list
| Name | Description | |
|---|---|---|
![]() |
ThrowTerminatingError(ErrorRecord) | (Inherited from Cmdlet.) |
![]() |
ThrowTerminatingError(Exception, ErrorCategory, Object) | Writes the details of a terminating error to the screen as an error message and logs the details in a log file. |
![]() |
ThrowTerminatingError(Exception, ErrorCategory, Object, String) | Writes the details of a terminating error to the screen as an error message and logs the details in a log file. |
Top
.gif)
.gif)