Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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, _
innerException As Exception _
)
'Usage
Dim localizedString As String
Dim innerException As Exception
Dim instance As New SPCmdletException(localizedString, _
innerException)
public SPCmdletException(
string localizedString,
Exception innerException
)
Parameters
localizedString
Type: System.StringLocalized string that the exception should represent.
innerException
Type: System.ExceptionAn inner exception to embed in this exception.