CommandLineSyntaxException Constructor (String, Exception)

Initializes a new instance of a CommandLineSyntaxException object.

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

Syntax

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

Dim instance As New CommandLineSyntaxException(message, _
    innerException)
public CommandLineSyntaxException(
    string message,
    Exception innerException
)

Parameters

  • message
    Type: System.String

    The error message associated with the exception.

  • innerException
    Type: System.Exception

    An exception that connects to the current exception.

See Also

Reference

CommandLineSyntaxException Class

CommandLineSyntaxException Members

CommandLineSyntaxException Overload

Microsoft.SharePoint.Publishing Namespace

CommandLineSyntaxException

CommandLineSyntaxException