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?
, "Generic Exception" "catch {}" # . , , , () , System.Exception.
, , , System.Exception catch. , . , .
- ? ?
, , - . " ", , Exception. System.Exception mscorlib.
, "System.Exception", "mscorlib" , "", ( ) mscorlib, "System.Exception".
, ...
. , Visual Studios. .NET , . VS, , , .
For a general exception: in the case, C#it behaves likecatch{}
C#
catch{}
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