BreakpointManager Class

Manages all the breakpoints that are set in on a task. This class cannot be inherited.


Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public sealed class BreakpointManager : DtsObject

The BreakpointManager type exposes the following members.

Public methodClearBreakpointTargetsRemoves all the breakpoints set in a task.
Public methodCreateBreakpointTargetCreates a new breakpoint in the task with the specified breakpoint ID and description.
Public methodEqualsDetermines whether two object instances are equal. (Inherited from DtsObject.)
Public methodGetBreakpointTargetReturns the breakpoint object for a specific breakpoint ID.
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from DtsObject.)
Public methodGetType (Inherited from Object.)
Public methodIsBreakpointTargetEnabledA Boolean that indicates if the breakpoint is enabled.
Public methodRemoveBreakpointTargetRemoves a previously created breakpoint from a task.
Public methodToString (Inherited from Object.)

Tasks create breakpoints by calling the CreateBreakpointTarget method of the BreakpointManager and providing an ID and description of the breakpoint as parameters to the method. When a task reaches the point in its code that contains the breakpoint, it evaluates the breakpoint to see if it should suspend execution. Execution is suspended if the IsBreakpointTargetEnabled is true. If true, the task notifies the run-time engine by raising the OnBreakpointHit event. For information about custom breakpoints, see Adding Support for Debugging in a Custom Task.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.