SPCmdletException Class

Exception class that uses localized strings instead of hard-coded strings.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.PowerShell.SPCmdletException
      SPCmdletObjectNotFoundException
      Microsoft.SharePoint.PowerShell.SPCmdletPipeBindException

Namespace:  Microsoft.SharePoint.PowerShell
Assembly:  Microsoft.SharePoint.PowerShell (in Microsoft.SharePoint.PowerShell.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class SPCmdletException _
    Inherits Exception
'Usage
Dim instance As SPCmdletException
[SerializableAttribute]
public class SPCmdletException : Exception

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPCmdletException Members

Microsoft.SharePoint.PowerShell Namespace