Compartilhar via


Classe BreakpointManager

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

Hierarquia de herança

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

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

Sintaxe

'Declaração
Public NotInheritable Class BreakpointManager _
    Inherits DtsObject
'Uso
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

O tipo BreakpointManager expõe os membros a seguir.

Métodos

  Nome Descrição
Método público ClearBreakpointTargets Removes all the breakpoints set in a task.
Método público CreateBreakpointTarget Creates a new breakpoint in the task with the specified breakpoint ID and description.
Método público Equals Determines whether two object instances are equal. (Herdado de DtsObject.)
Método protegido Finalize (Herdado de Object.)
Método público GetBreakpointTarget Returns the breakpoint object for a specific breakpoint ID.
Método público GetHashCode Returns the hash code for this instance. (Herdado de DtsObject.)
Método público GetType (Herdado de Object.)
Método público IsBreakpointTargetEnabled A Boolean that indicates if the breakpoint is enabled.
Método protegido MemberwiseClone (Herdado de Object.)
Método público RemoveBreakpointTarget Removes a previously created breakpoint from a task.
Método público ToString (Herdado de Object.)

Início

Comentários

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 Adicionando suporte para depurando em uma tarefa personalizada.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência