Share via


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
Public method ThrowTerminatingError(ErrorRecord) (Inherited from Cmdlet.)
Protected method 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.
Protected method 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

See also

Reference

SPCmdlet class

SPCmdlet members

Microsoft.SharePoint.PowerShell namespace