다음을 통해 공유


UnsupportedValueTypeForTextStreamColumnException Class

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

네임스페이스: Microsoft.SqlServer.Dts.Pipeline
어셈블리: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

구문

‘선언
Public Class UnsupportedValueTypeForTextStreamColumnException
    Inherits ApplicationException
public class UnsupportedValueTypeForTextStreamColumnException : ApplicationException
public ref class UnsupportedValueTypeForTextStreamColumnException : public ApplicationException
public class UnsupportedValueTypeForTextStreamColumnException extends ApplicationException
public class UnsupportedValueTypeForTextStreamColumnException extends ApplicationException

주의

This exception occurs when assigning data to a DT_TEXT or DT_NTEXT column in a PipelineBuffer using the array indexer method.

Inheritance Hierarchy

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

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

public override void ProcessInput(int inputID, PipelineBuffer buffer)
{
    if(!buffer.EndOfRowset)
    {
        buffer[0] = 1;
    }
}
Public Overloads Overrides Sub ProcessInput(ByVal inputID As Integer, ByVal buffer As PipelineBuffer) 
 If Not buffer.EndOfRowset Then 
   buffer(0) = 1 
 End If 
End Sub

스레드 보안

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

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

UnsupportedValueTypeForTextStreamColumnException Members
Microsoft.SqlServer.Dts.Pipeline Namespace