Partilhar via


CommandLineSyntaxException Class

Represents an exception thrown when the command line syntax is incorrect.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.Publishing.CommandLineSyntaxException

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

Syntax

'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class CommandLineSyntaxException _
    Inherits Exception
'Usage
Dim instance As CommandLineSyntaxException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class CommandLineSyntaxException : Exception

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

CommandLineSyntaxException Members

Microsoft.SharePoint.Publishing Namespace

CommandLineSyntaxException

CommandLineSyntaxException

CommandLineSyntaxException