共用方式為


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.

命名空間:  Microsoft.SqlServer.Dts.Pipeline
組件:  Microsoft.SqlServer.PipelineHost (在 Microsoft.SqlServer.PipelineHost.dll 中)

語法

'宣告
Public Class UnsupportedValueTypeForTextStreamColumnException _
    Inherits ApplicationException
'用途
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

備註

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

範例

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

繼承階層

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

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。