Share via


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
'Usage
Dim instance As ColumnIndexOutOfRangeException
[SerializableAttribute]
public class ColumnIndexOutOfRangeException : ApplicationException
[SerializableAttribute]
public ref class ColumnIndexOutOfRangeException : public ApplicationException
[<SerializableAttribute>]
type ColumnIndexOutOfRangeException =  
    class
        inherit ApplicationException
    end
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 Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.