ExceptionRegionEncoder.AddCatch 메서드

정의

오류 절을 추가합니다.

public:
 System::Reflection::Metadata::Ecma335::ExceptionRegionEncoder AddCatch(int tryOffset, int tryLength, int handlerOffset, int handlerLength, System::Reflection::Metadata::EntityHandle catchType);
public System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder AddCatch (int tryOffset, int tryLength, int handlerOffset, int handlerLength, System.Reflection.Metadata.EntityHandle catchType);
member this.AddCatch : int * int * int * int * System.Reflection.Metadata.EntityHandle -> System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder
Public Function AddCatch (tryOffset As Integer, tryLength As Integer, handlerOffset As Integer, handlerLength As Integer, catchType As EntityHandle) As ExceptionRegionEncoder

매개 변수

tryOffset
Int32

Try 블록 시작 오프셋.

tryLength
Int32

Try 블록 길이.

handlerOffset
Int32

처리기 시작 오프셋.

handlerLength
Int32

처리기 길이.

반환

다음 절의 인코더.

예외

catchType이 잘못되었습니다.

tryOffset, tryLength, handlerOffset 또는 handlerLength가 범위를 벗어났습니다.

메서드 본문이 예외 영역을 포함하도록 선언되지 않았습니다.

적용 대상