ControlFlowBuilder.AddFilterRegion Methode

Definitie

Voegt catch-regio toe.

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

Parameters

tryStart
LabelHandle

Label dat de eerste instructie van het try-blok markeert.

tryEnd
LabelHandle

Label dat de instructie onmiddellijk na het try-blok markeert.

handlerStart
LabelHandle

Label dat de eerste instructie van de handler markeert.

handlerEnd
LabelHandle

Label dat de instructie onmiddellijk na de handler markeert.

filterStart
LabelHandle

Label dat de eerste instructie van het filterblok markeert.

Uitzonderingen

Een label is niet gedefinieerd door een instructiecoderingsprogramma waarmee deze opbouwfunctie is gekoppeld.

Een label heeft de standaardwaarde.

Van toepassing op