Delen via


CommandBreakpoint Class

Definition

A breakpoint on a command.

public ref class CommandBreakpoint : System::Management::Automation::Breakpoint
public class CommandBreakpoint : System.Management.Automation.Breakpoint
type CommandBreakpoint = class
    inherit Breakpoint
Public Class CommandBreakpoint
Inherits Breakpoint
Inheritance
CommandBreakpoint

Constructors

CommandBreakpoint(String, WildcardPattern, String, Int32)

Creates a new instance of a CommandBreakpoint

CommandBreakpoint(String, WildcardPattern, String, ScriptBlock, Int32)

Creates a new instance of a CommandBreakpoint

CommandBreakpoint(String, WildcardPattern, String, ScriptBlock)

Creates a new instance of a CommandBreakpoint

CommandBreakpoint(String, WildcardPattern, String)

Creates a new instance of a CommandBreakpoint

Properties

Action

The action to take when the breakpoint is hit.

(Inherited from Breakpoint)
Command

Which command this breakpoint is on.

Enabled

Gets whether this breakpoint is enabled.

(Inherited from Breakpoint)
HitCount

Records how many times this breakpoint has been triggered.

(Inherited from Breakpoint)
Id

This breakpoint's Id.

(Inherited from Breakpoint)
Script

The script this breakpoint is on, or null if the breakpoint is not scoped.

(Inherited from Breakpoint)

Methods

ToString()

Gets a string representation of this breakpoint.

Applies to