Condividi tramite


Classe BreakpointManager

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class BreakpointManager _
    Inherits DtsObject
'Utilizzo
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

Nel tipo BreakpointManager sono esposti i membri seguenti.

Metodi

  Nome Descrizione
Metodo pubblico ClearBreakpointTargets Removes all the breakpoints set in a task.
Metodo pubblico CreateBreakpointTarget Creates a new breakpoint in the task with the specified breakpoint ID and description.
Metodo pubblico Equals Determines whether two object instances are equal. Ereditato da DtsObject.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetBreakpointTarget Returns the breakpoint object for a specific breakpoint ID.
Metodo pubblico GetHashCode Returns the hash code for this instance. Ereditato da DtsObject.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico IsBreakpointTargetEnabled A Boolean that indicates if the breakpoint is enabled.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico RemoveBreakpointTarget Removes a previously created breakpoint from a task.
Metodo pubblico ToString Ereditato da Object.

In alto

Osservazioni

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 Aggiunta di supporto per il debug in un'attività personalizzata.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.