How do I pass an “out int” parameter in Biztalk orchestration?

Issue

This Content is from Stack Overflow. Question asked by navi

I have a method written in C#:

public static void MyMethod(string myString, out int myInteger)
...

In Biztalk orchestration I am declaring one variable as an int32 and setting it to “0”.

When calling the method with this variable I get the following error:

Cannot convert from ‘System.Int32’ to ‘out System.Int32’

My question: how do I declare an “out int32” in Biztalk Orchestration?

Or how can I manage to call this method that requires an “out int”?



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?