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.

Inheritance Hierarchy

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

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

The ColumnIndexOutOfRangeException type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HelpLink (Inherited from Exception.)
Public 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 Security Critical. (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Events

  Name Description
Protected event SerializeObjectState (Inherited from Exception.)

Top

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.

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.

See Also

Reference

Microsoft.SqlServer.Dts.Pipeline Namespace