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.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。