ControlFlowBuilder.AddFinallyRegion 메서드

정의

마지막으로 지역을 추가합니다.

public:
 void AddFinallyRegion(System::Reflection::Metadata::Ecma335::LabelHandle tryStart, System::Reflection::Metadata::Ecma335::LabelHandle tryEnd, System::Reflection::Metadata::Ecma335::LabelHandle handlerStart, System::Reflection::Metadata::Ecma335::LabelHandle handlerEnd);
public void AddFinallyRegion(System.Reflection.Metadata.Ecma335.LabelHandle tryStart, System.Reflection.Metadata.Ecma335.LabelHandle tryEnd, System.Reflection.Metadata.Ecma335.LabelHandle handlerStart, System.Reflection.Metadata.Ecma335.LabelHandle handlerEnd);
member this.AddFinallyRegion : System.Reflection.Metadata.Ecma335.LabelHandle * System.Reflection.Metadata.Ecma335.LabelHandle * System.Reflection.Metadata.Ecma335.LabelHandle * System.Reflection.Metadata.Ecma335.LabelHandle -> unit
Public Sub AddFinallyRegion (tryStart As LabelHandle, tryEnd As LabelHandle, handlerStart As LabelHandle, handlerEnd As LabelHandle)

매개 변수

tryStart
LabelHandle

try 블록의 첫 번째 명령을 표시하는 레이블입니다.

tryEnd
LabelHandle

try 블록 바로 다음에 명령을 표시하는 레이블입니다.

handlerStart
LabelHandle

처리기의 첫 번째 명령을 표시하는 레이블입니다.

handlerEnd
LabelHandle

처리기 바로 다음에 명령을 표시하는 레이블입니다.

예외

이 작성기가 연결된 명령 인코더에 의해 레이블이 정의되지 않았습니다.

레이블에는 기본값이 있습니다.

적용 대상