Classe SourceInfo

The SourceInfo class represents a location in a DAC source file that has thrown an exception.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.SqlServer.Management.Dac..::..SourceInfo

Espace de noms :  Microsoft.SqlServer.Management.Dac
Assembly :  Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)

Syntaxe

'Déclaration
Public Class SourceInfo
'Utilisation
Dim instance As SourceInfo
public class SourceInfo
public ref class SourceInfo
type SourceInfo =  class end
public class SourceInfo

Le type SourceInfo expose les membres suivants.

Propriétés

  Nom Description
Propriété publique End Gets the line and column number of the end location in the source file in which an exception was thrown.
Propriété publique Filename Gets the name of source file in which the exception was thrown.
Propriété publique Start Gets the line and column numbers of the start location in the source file in which an exception was thrown.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

This class defines properties that get information about the specific points in the source file that triggered the exception.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.