BizTalk Server - Problem with Custom Functoid in C#

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > October 2004 > Problem with Custom Functoid in C#





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problem with Custom Functoid in C#
RichardT

2004-10-02, 8:59 pm

I'm writing what should be a simple functoid to return one of two strings
based on an incoming boolean parameter.

This code works in a script functoid using Inline C# but returns nothing
when I put it in an external functoid that's been GAC'ed.

public string IfThenElseScript(bool boolVal, string trueVal, string falseVal)
{
string target = "NULL";

if (boolVal)
{
target = trueVal;
}
else
{
target = falseVal;
}

return target;
}

--
RichardT
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com