Compartir a través de


PSHost.ExitNestedPrompt Method

Definition

Causes the host to end the currently running input loop. If the input loop was created by a prior call to EnterNestedPrompt, the enclosing pipeline will be resumed. If the current input loop is the top-most loop, then the host will act as though SetShouldExit was called.

public:
 abstract void ExitNestedPrompt();
public:
 abstract void ExitNestedPrompt();
 abstract void ExitNestedPrompt();
public abstract void ExitNestedPrompt ();
abstract member ExitNestedPrompt : unit -> unit
Public MustOverride Sub ExitNestedPrompt ()

Remarks

Typically called by the engine in response to some user action that resumes a suspended pipeline, such as with the 'continue-command' intrinsic cmdlet. Before calling this method, the engine should clear out the loop-specific variables that were set when the loop was created.

If the UI Property returns a null, the engine should not call this method.

Applies to

See also