Udostępnij za pośrednictwem


ColumnIndexOutOfRangeException Class

The exception that is thrown when an attempt to access a buffer column by using an index is outside the bounds of the collection of buffer columns.

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class ColumnIndexOutOfRangeException
    Inherits ApplicationException
[SerializableAttribute] 
public class ColumnIndexOutOfRangeException : ApplicationException
[SerializableAttribute] 
public ref class ColumnIndexOutOfRangeException : public ApplicationException
/** @attribute SerializableAttribute() */ 
public class ColumnIndexOutOfRangeException extends ApplicationException
SerializableAttribute 
public class ColumnIndexOutOfRangeException extends ApplicationException

Remarks

This exception is thrown when attempting to access a BufferColumn by using an index and the supplied index is either greater than the number of columns in the zero-based array or is less than zero.

Inheritance Hierarchy

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

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ColumnIndexOutOfRangeException Members
Microsoft.SqlServer.Dts.Pipeline Namespace