Compartilhar via


SPCmdletPipeBindException Constructor (String, Exception)

Creates a new instance of the SPCmdletPipeBindException class. This constructor initializes the object with a localized string and an inner exception.

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

Syntax

'Declaration
Public Sub New ( _
    localizedStr As String, _
    innerException As Exception _
)
'Usage
Dim localizedStr As String
Dim innerException As Exception

Dim instance As New SPCmdletPipeBindException(localizedStr, _
    innerException)
public SPCmdletPipeBindException(
    string localizedStr,
    Exception innerException
)

Parameters

  • localizedStr
    Type: System.String

    Localized string that the exception should represent.

  • innerException
    Type: System.Exception

    An inner exception to embed in this exception.

See Also

Reference

SPCmdletPipeBindException Class

SPCmdletPipeBindException Members

SPCmdletPipeBindException Overload

Microsoft.SharePoint.PowerShell Namespace