Delen via


UnsupportedValueTypeForTextStreamColumnException Class

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.

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

Syntax

'Declaration
Public Class UnsupportedValueTypeForTextStreamColumnException _
    Inherits ApplicationException
'Usage
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

The UnsupportedValueTypeForTextStreamColumnException type exposes the following members.

Constructors

  Name Description
Public method UnsupportedValueTypeForTextStreamColumnException Initializes a new instance of the UnsupportedValueTypeForTextStreamColumnException class.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Remarks

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

Examples

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.