RowIndexOutOfRangeException 클래스

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

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

구문

‘선언
<SerializableAttribute> _
Public Class RowIndexOutOfRangeException _
    Inherits ApplicationException
‘사용 방법
Dim instance As RowIndexOutOfRangeException
[SerializableAttribute]
public class RowIndexOutOfRangeException : ApplicationException
[SerializableAttribute]
public ref class RowIndexOutOfRangeException : public ApplicationException
[<SerializableAttribute>]
type RowIndexOutOfRangeException =  
    class 
        inherit ApplicationException 
    end
public class RowIndexOutOfRangeException extends ApplicationException

RowIndexOutOfRangeException 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 RowIndexOutOfRangeException Initializes a new instance of the RowIndexOutOfRangeException class.

맨 위로 이동

속성

  이름 설명
공용 속성 Data (Exception에서 상속됨)
공용 속성 HelpLink (Exception에서 상속됨)
공용 속성 HResult (Exception에서 상속됨)
공용 속성 InnerException (Exception에서 상속됨)
공용 속성 Message (Exception에서 상속됨)
공용 속성 Source (Exception에서 상속됨)
공용 속성 StackTrace (Exception에서 상속됨)
공용 속성 TargetSite (Exception에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetBaseException (Exception에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetObjectData 보안에 중요합니다. (Exception에서 상속됨)
공용 메서드 GetType (Exception에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 ToString (Exception에서 상속됨)

맨 위로 이동

이벤트

  이름 설명
보호된 이벤트 SerializeObjectState (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.

public override void ProcessInput(int inputID, PipelineBuffer buffer)
{
try
{
//while (buffer.NextRow())
//{
BufferColumn bc = buffer.GetColumnInfo(0);
//}
}
catch (RowIndexOutOfRangeException e )
{
}
}
Public Overloads Overrides Sub ProcessInput(ByVal inputID As Integer, ByVal buffer As PipelineBuffer) 
 Try 
   Dim bc As BufferColumn = buffer.GetColumnInfo(0) 
 Catch e As RowIndexOutOfRangeException 
 End Try 
End Sub

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Dts.Pipeline 네임스페이스