Partager via


Classe UnsupportedValueTypeForTextStreamColumnException

The exception that is thrown when the type of the value that is being assigned to a column in a PipelineBuffer is not a string or byte array.

Hiérarchie d'héritage

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.SqlServer.Dts.Pipeline.UnsupportedValueTypeForTextStreamColumnException

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline
Assembly :  Microsoft.SqlServer.PipelineHost (en Microsoft.SqlServer.PipelineHost.dll)

Syntaxe

'Déclaration
Public Class UnsupportedValueTypeForTextStreamColumnException _
    Inherits ApplicationException
'Utilisation
Dim instance As UnsupportedValueTypeForTextStreamColumnException
public class UnsupportedValueTypeForTextStreamColumnException : ApplicationException
public ref class UnsupportedValueTypeForTextStreamColumnException : public ApplicationException
type UnsupportedValueTypeForTextStreamColumnException =  
    class 
        inherit ApplicationException 
    end
public class UnsupportedValueTypeForTextStreamColumnException extends ApplicationException

Le type UnsupportedValueTypeForTextStreamColumnException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique UnsupportedValueTypeForTextStreamColumnException Initializes a new instance of the UnsupportedValueTypeForTextStreamColumnException class.

Haut de la page

Propriétés

  Nom Description
Propriété publique Data (hérité de Exception.)
Propriété publique HelpLink (hérité de Exception.)
Propriété publique HResult (hérité de Exception.)
Propriété publique InnerException (hérité de Exception.)
Propriété publique Message (hérité de Exception.)
Propriété publique Source (hérité de Exception.)
Propriété publique StackTrace (hérité de Exception.)
Propriété publique TargetSite (hérité de Exception.)

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 GetBaseException (hérité de Exception.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetObjectData Informations critiques de sécurité. (hérité de Exception.)
Méthode publique GetType (hérité de Exception.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Exception.)

Haut de la page

Événements

  Nom Description
Événement protégé SerializeObjectState (hérité de Exception.)

Haut de la page

Notes

This exception occurs when assigning a value of the wrong type to a DT_TEXT or DT_NTEXT column in a PipelineBuffer.

Exemples

The following example shows how this exception occurs when the first column in the buffer is DT_TEXT or DT_NTEXT.

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.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dts.Pipeline