Compartilhar via


PSDebugContext Constructors

Definition

Overloads

PSDebugContext(InvocationInfo, List<Breakpoint>)

Initializes a new instance of the PSDebugContext class.

PSDebugContext(InvocationInfo, List<Breakpoint>, Object)

Initializes a new instance of the PSDebugContext class.

PSDebugContext(InvocationInfo, List<Breakpoint>)

Initializes a new instance of the PSDebugContext class.

public:
 PSDebugContext(System::Management::Automation::InvocationInfo ^ invocationInfo, System::Collections::Generic::List<System::Management::Automation::Breakpoint ^> ^ breakpoints);
public PSDebugContext (System.Management.Automation.InvocationInfo invocationInfo, System.Collections.Generic.List<System.Management.Automation.Breakpoint> breakpoints);
new System.Management.Automation.PSDebugContext : System.Management.Automation.InvocationInfo * System.Collections.Generic.List<System.Management.Automation.Breakpoint> -> System.Management.Automation.PSDebugContext
Public Sub New (invocationInfo As InvocationInfo, breakpoints As List(Of Breakpoint))

Parameters

invocationInfo
InvocationInfo

The invocation information for the current command.

breakpoints
List<Breakpoint>

The breakpoint(s) that caused the script to break in the debugger.

Applies to

PSDebugContext(InvocationInfo, List<Breakpoint>, Object)

Initializes a new instance of the PSDebugContext class.

public PSDebugContext (System.Management.Automation.InvocationInfo invocationInfo, System.Collections.Generic.List<System.Management.Automation.Breakpoint> breakpoints, object triggerObject);
new System.Management.Automation.PSDebugContext : System.Management.Automation.InvocationInfo * System.Collections.Generic.List<System.Management.Automation.Breakpoint> * obj -> System.Management.Automation.PSDebugContext
Public Sub New (invocationInfo As InvocationInfo, breakpoints As List(Of Breakpoint), triggerObject As Object)

Parameters

invocationInfo
InvocationInfo

The invocation information for the current command.

breakpoints
List<Breakpoint>

The breakpoint(s) that caused the script to break in the debugger.

triggerObject
Object

The object that caused the script to break in the debugger.

Applies to