|
Home > Archive > BizTalk Server Orchestration > September 2004 > BTS 2004 Orchestration - navigating .NET objects
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 |
BTS 2004 Orchestration - navigating .NET objects
|
|
| Randall McClure 2004-03-01, 12:36 pm |
| I have been unable to use the following code in an
Expression Editor window to access collections in a
complex hierarchical .NET object:
oPremiumHeader = oPremiumBinder.Headers[0];
gives me the error message:
"cannot apply indexing with [] to an expression of
type 'oPremiumBinder.Headers'".
Both oPremiumHeader and oPremiumBinder are defined
as .NET-based Variables in the orchestration. Headers is
a collection that derives from
System.Collections.CollectionsBase. The Intellisense
works fine to see simple members, just not to drop into a
collection or array member. The above expression is fine
in an ASP.NET page.
Does orchestration prevent the use of collections and
arrays in expressions?
What is the proper syntax or approach in order to make
use of complex .NET objects that contain collections or
arrays?
Thanks
| |
| Susmitha Kothari 2004-06-26, 10:53 am |
| Arrays of any type are not supported in this version of BizTalk Server. Use
.NET code to manipulate arrays.
Thanks,
Susmitha
--------------------[vbcol=seagreen]
This posting is provided "AS IS" with no warranties, and confers no rights.
EBusiness Server Team
| |
| Steve Burnett 2004-09-15, 10:19 am |
| Thank you for posting this info. I have wasted a few hours trying to get a
collection working in an Orchestration. I may have missed it in the
documentation, but I never found this in the BizTalk Server 2004
documentation. Is this sort of limitation documented anywhere? Perhaps a
limitations section on the expression shape? Is there a best practices
document anywhere that could help out with these sorts issues (understanding
what can be done in an Expression, and what needs to be done in a .NET
assembly)?
Thanks,
Steve
"Susmitha Kothari" wrote:
> Arrays of any type are not supported in this version of BizTalk Server. Use
> .NET code to manipulate arrays.
> Thanks,
> Susmitha
> --------------------
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> EBusiness Server Team
>
>
| |
| Devdutt Patnaik 2004-09-15, 5:49 pm |
| Check out the following link in scott woodgate's blog for allowable code
inside expression shapes.
http://blogs.msdn.com/scottwoo/arch.../18/216647.aspx
Regards
Dev
"Steve Burnett" <Steve Burnett@discussions.microsoft.com> wrote in message
news:E02D87BD-9CFB-4908-8239-8C2030AB6BC7@microsoft.com...
> Thank you for posting this info. I have wasted a few hours trying to get
a
> collection working in an Orchestration. I may have missed it in the
> documentation, but I never found this in the BizTalk Server 2004
> documentation. Is this sort of limitation documented anywhere? Perhaps a
> limitations section on the expression shape? Is there a best practices
> document anywhere that could help out with these sorts issues
(understanding[vbcol=seagreen]
> what can be done in an Expression, and what needs to be done in a .NET
> assembly)?
>
> Thanks,
> Steve
>
> "Susmitha Kothari" wrote:
>
Use[vbcol=seagreen]
rights.[vbcol=seagreen]
|
|
|
|
|