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.StringLocalized string that the exception should represent.