Класс SourceInfo
The SourceInfo class represents a location in a DAC source file that has thrown an exception.
Иерархия наследования
System. . :: . .Object
Microsoft.SqlServer.Management.Dac..::..SourceInfo
Пространство имен: Microsoft.SqlServer.Management.Dac
Сборка: Microsoft.SqlServer.Management.Dac (в Microsoft.SqlServer.Management.Dac.dll)
Синтаксис
'Декларация
Public Class SourceInfo
'Применение
Dim instance As SourceInfo
public class SourceInfo
public ref class SourceInfo
type SourceInfo = class end
public class SourceInfo
Тип SourceInfo обеспечивает доступ к следующим элементам.
Свойства
Имя | Описание | |
---|---|---|
![]() |
End | Gets the line and column number of the end location in the source file in which an exception was thrown. |
![]() |
Filename | Gets the name of source file in which the exception was thrown. |
![]() |
Start | Gets the line and column numbers of the start location in the source file in which an exception was thrown. |
В начало
Методы
Имя | Описание | |
---|---|---|
![]() |
Equals | (Производный от Object.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetType | (Производный от Object.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
ToString | (Производный от Object.) |
В начало
Замечания
This class defines properties that get information about the specific points in the source file that triggered the exception.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.