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.

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline
Assembly :  Microsoft.SqlServer.PipelineHost (dans 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

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.

Hiérarchie d'héritage

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

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.