Partilhar via


ExitStatementAst(IScriptExtent, PipelineBaseAst) Constructor

Definition

Construct an exit statement.

public:
 ExitStatementAst(System::Management::Automation::Language::IScriptExtent ^ extent, System::Management::Automation::Language::PipelineBaseAst ^ pipeline);
public ExitStatementAst (System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.PipelineBaseAst pipeline);
new System.Management.Automation.Language.ExitStatementAst : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.PipelineBaseAst -> System.Management.Automation.Language.ExitStatementAst
Public Sub New (extent As IScriptExtent, pipeline As PipelineBaseAst)

Parameters

extent
IScriptExtent

The extent of the exit statement including the optional exit value.

pipeline
PipelineBaseAst

The optional exit value.

Exceptions

If extent is null.

Applies to