Hi Friends,
Sometimes there may be situation when there are many suspended messages in Biztalk and sometimes we need to extarct the body of those suspended message programmatically.
I had also this situation so I wrote one code that helped me. I am sharing this code may be U can get some reference from this code and customize it as per your requirement.
In My Condition I am just getting the message instanceId and message body of suspended message and displaying in gridview.
I have taken one Web Application and after adding the webform in my web application I took a gridview as below:
In code behind file you need to use below code---
Please dont forget to add below to dll file....
using Microsoft.BizTalk.Message.Interop
using Microsoft.BizTalk.Operations
As you can see there is BindGrid() method I have created. you can see the code and you can use this method in your program to get the body of any supended message in biztalk.
Thank you for reading this.
Sometimes there may be situation when there are many suspended messages in Biztalk and sometimes we need to extarct the body of those suspended message programmatically.
I had also this situation so I wrote one code that helped me. I am sharing this code may be U can get some reference from this code and customize it as per your requirement.
In My Condition I am just getting the message instanceId and message body of suspended message and displaying in gridview.
I have taken one Web Application and after adding the webform in my web application I took a gridview as below:
In code behind file you need to use below code---
Please dont forget to add below to dll file....
using Microsoft.BizTalk.Message.Interop
using Microsoft.BizTalk.Operations
As you can see there is BindGrid() method I have created. you can see the code and you can use this method in your program to get the body of any supended message in biztalk.
Thank you for reading this.