RowIndexOutOfRangeException Class
The exception that is thrown when an invalid index is supplied when accessing a row in a PipelineBuffer.
System.Object
System.Exception
System.ApplicationException
Microsoft.SqlServer.Dts.Pipeline.RowIndexOutOfRangeException
System.Exception
System.ApplicationException
Microsoft.SqlServer.Dts.Pipeline.RowIndexOutOfRangeException
Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)
The RowIndexOutOfRangeException type exposes the following members.
| Name | Description | |
|---|---|---|
|
RowIndexOutOfRangeException | Initializes a new instance of the RowIndexOutOfRangeException class. |
| Name | Description | |
|---|---|---|
|
Data | (Inherited from Exception.) |
|
HelpLink | (Inherited from Exception.) |
|
HResult | (Inherited from Exception.) |
|
InnerException | (Inherited from Exception.) |
|
Message | (Inherited from Exception.) |
|
Source | (Inherited from Exception.) |
|
StackTrace | (Inherited from Exception.) |
|
TargetSite | (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetBaseException | (Inherited from Exception.) |
|
GetHashCode | (Inherited from Object.) |
|
GetObjectData | (Inherited from Exception.) |
|
GetType | (Inherited from Exception.) |
|
MemberwiseClone | (Inherited from Object.) |
|
ToString | (Inherited from Exception.) |
This exception is thrown when attempting to access a row in a PipelineBuffer by index and the supplied index is either greater than the number of rows in the buffer or is less than zero.
Accessing the CurrentRow property of the PipelineBuffer object without first calling NextRow will also throw this exception because the CurrentRow property has not been advanced to the first row in the collection.
The following code example throws a RowIndexOutOfRangeException because NextRow has not been called first.