NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ILGenerator.BeginExceptionBlock

Begins an exception block for a non-filtered exception.

[Visual Basic]
Overridable Public Function BeginExceptionBlock() As Label
[C#]
public virtual Label BeginExceptionBlock();
[C++]
public: virtual Label BeginExceptionBlock();
[JScript]
public function BeginExceptionBlock() : Label;

Return Value

The label for the end of the block. This will leave you in the correct place to execute finally blocks or to finish the try.

Remarks

Creating an exception block records some information, but does not actually emit any IL onto the stream.

See Also

ILGenerator Class | ILGenerator Members | System.Reflection.Emit Namespace