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.StringLocalized string that the exception should represent.
innerException
Type: System.ExceptionAn inner exception to embed in this exception.
See Also
Reference
SPCmdletPipeBindException Class
SPCmdletPipeBindException Members