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

블록 시작 오프셋을 시도합니다.

tryLength
Int32

블록 길이를 시도합니다.

handlerOffset
Int32

처리기 시작 오프셋입니다.

handlerLength
Int32

처리기 길이입니다.

반품

다음 절의 인코더입니다.

예외

catchType 가 잘못되었습니다.

tryOffset, tryLengthhandlerOffset 또는 handlerLength 범위를 벗어났습니다.

메서드 본문에 예외 영역이 있다고 선언되지 않았습니다.

적용 대상