SPNewCmdletBase<TCmdletObject>.WriteError Method

Include Protected Members
Include Inherited Members

Writes the details of non-terminating errors to the screen as an error message and logs the details in a log file.

Overload List

  Name Description
Public method WriteError(ErrorRecord) (Inherited from Cmdlet.)
Protected method WriteError(Exception, ErrorCategory, Object) Writes the details of non-terminating errors to the screen as an error message and logs the details in a log file. (Inherited from SPCmdlet.)
Protected method WriteError(Exception, ErrorCategory, Object, String) Writes the details of non-terminating errors to the screen as an error message and logs the details in a log file. (Inherited from SPCmdlet.)

Top

See Also

Reference

SPNewCmdletBase<TCmdletObject> Class

SPNewCmdletBase<TCmdletObject> Members

Microsoft.SharePoint.PowerShell Namespace