Класс BreakpointManager
Manages all the breakpoints that are set in on a task. This class cannot be inherited.
Иерархия наследования
System. . :: . .Object
Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
Microsoft.SqlServer.Dts.Runtime..::..BreakpointManager
Пространство имен: Microsoft.SqlServer.Dts.Runtime
Сборка: Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)
Синтаксис
'Декларация
Public NotInheritable Class BreakpointManager _
Inherits DtsObject
'Применение
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
Тип BreakpointManager обеспечивает доступ к следующим элементам.
Методы
Имя | Описание | |
---|---|---|
ClearBreakpointTargets | Removes all the breakpoints set in a task. | |
CreateBreakpointTarget | Creates a new breakpoint in the task with the specified breakpoint ID and description. | |
Equals | Determines whether two object instances are equal. (Производный от DtsObject.) | |
Finalize | (Производный от Object.) | |
GetBreakpointTarget | Returns the breakpoint object for a specific breakpoint ID. | |
GetHashCode | Returns the hash code for this instance. (Производный от DtsObject.) | |
GetType | (Производный от Object.) | |
IsBreakpointTargetEnabled | A Boolean that indicates if the breakpoint is enabled. | |
MemberwiseClone | (Производный от Object.) | |
RemoveBreakpointTarget | Removes a previously created breakpoint from a task. | |
ToString | (Производный от 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 Добавление поддержки отладки в пользовательскую задачу.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.