ExceptionRegionEncoder.Add 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
예외 절을 추가합니다.
public System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder Add(System.Reflection.Metadata.ExceptionRegionKind kind, int tryOffset, int tryLength, int handlerOffset, int handlerLength, System.Reflection.Metadata.EntityHandle catchType = default, int filterOffset = 0);
member this.Add : System.Reflection.Metadata.ExceptionRegionKind * int * int * int * int * System.Reflection.Metadata.EntityHandle * int -> System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder
Public Function Add (kind As ExceptionRegionKind, tryOffset As Integer, tryLength As Integer, handlerOffset As Integer, handlerLength As Integer, Optional catchType As EntityHandle = Nothing, Optional filterOffset As Integer = 0) As ExceptionRegionEncoder
매개 변수
- kind
- ExceptionRegionKind
절 종류입니다.
- tryOffset
- Int32
블록 시작 오프셋을 시도합니다.
- tryLength
- Int32
블록 길이를 시도합니다.
- handlerOffset
- Int32
처리기 시작 오프셋입니다.
- handlerLength
- Int32
처리기 길이입니다.
- catchType
- EntityHandle
TypeDefinitionHandle, TypeReferenceHandle 또는 TypeSpecificationHandlenil이 아닌 Catch경우 kind .
반품
다음 절의 인코더입니다.
예외
catchType 가 잘못되었습니다.
kind 값이 잘못되었습니다.
-또는-
tryOffset, tryLength, handlerOffset또는 handlerLength 범위를 벗어났습니다.
메서드 본문에 예외 영역이 있다고 선언되지 않았습니다.