다음을 통해 공유


SPCmdlet.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.
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.

Top

See Also

Reference

SPCmdlet Class

SPCmdlet Members

Microsoft.SharePoint.PowerShell Namespace