BreakpointManager Class

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

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.BreakpointManager

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

Syntax

'Declaration
Public NotInheritable Class BreakpointManager _
    Inherits DtsObject
'Usage
Dim instance As BreakpointManager
public sealed class BreakpointManager : DtsObject
public ref class BreakpointManager sealed : public DtsObject
[<SealedAttribute>]
type BreakpointManager =  
    class
        inherit DtsObject
    end
public final class BreakpointManager extends DtsObject

The BreakpointManager type exposes the following members.

Methods

  Name Description
Public method ClearBreakpointTargets Removes all the breakpoints set in a task.
Public method CreateBreakpointTarget Creates a new breakpoint in the task with the specified breakpoint ID and description.
Public method Equals Determines whether two object instances are equal. (Inherited from DtsObject.)
Protected method Finalize (Inherited from Object.)
Public method GetBreakpointTarget Returns the breakpoint object for a specific breakpoint ID.
Public method GetHashCode Returns the hash code for this instance. (Inherited from DtsObject.)
Public method GetType (Inherited from Object.)
Public method IsBreakpointTargetEnabled A Boolean that indicates if the breakpoint is enabled.
Protected method MemberwiseClone (Inherited from Object.)
Public method RemoveBreakpointTarget Removes a previously created breakpoint from a task.
Public method ToString (Inherited from Object.)

Top

Remarks

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.

Thread Safety

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