BizTalk Exception Bypass Area General Exception Message

I have a BizTalk (2006 R2) area with a Failure Exception part in which I put a simple expression form to store the exception message in an orchestration variable.

The problem is that if I select the type of exception as "General exception", then I cannot provide the name of the exception object. Where can I get information on exceptions in this situation?

Then I thought that we would just select the type of exception as System.Exception, but that is not possible. I can only select specific types of .NET exceptions.

Am I doing it wrong or is this how BizTalk works?

+5
source share
5 answers

, "Generic Exception" "catch {}" # . , , , () , System.Exception.

, , , System.Exception catch. , . , .

- ? ?

+8

, , - . " ", , Exception. System.Exception mscorlib.

+2

, "System.Exception", "mscorlib" , "", ( ) mscorlib, "System.Exception".

, ...

+1

. , Visual Studios. .NET , . VS, , , .

0
source

For a general exception: in the case, C#it behaves likecatch{}

You can use it when you do not want to check the exception object or just want to throw an exception.

System.Exception: behaves like catch(exception ex){}

All exceptions C#are inherited from this class of exceptions. It does not use all exceptions in the context of biztalk.

Please see the screenshots for reference.

Screenshot 1

Screenshot 2

0
source

All Articles