Freigeben über


ThrowStatementAst(IScriptExtent, PipelineBaseAst) Constructor

Definition

Construct a throw statement.

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

Parameters

extent
IScriptExtent

The extent of the throw statement, including the optional value to throw.

pipeline
PipelineBaseAst

The optional value to throw.

Exceptions

If extent is null.

Applies to