SPCmdletException Constructor (String)

Creates a new instance of the SPCmdletException class.

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

Syntax

'Declaration
Public Sub New ( _
    localizedString As String _
)
'Usage
Dim localizedString As String

Dim instance As New SPCmdletException(localizedString)
public SPCmdletException(
    string localizedString
)

Parameters

  • localizedString
    Type: System.String

    Localized string that the exception should represent.

See Also

Reference

SPCmdletException Class

SPCmdletException Members

SPCmdletException Overload

Microsoft.SharePoint.PowerShell Namespace