Getting this error "Non-invocable member 'QueueItem.SpecificContent' cannot be used like a method" while fetching specific transaction item from the queue

Using this method: OutputTransactions.SpecificContent(“FirstName”).ToString


Do you have any solution
Thanks

1 Like

Hi @Vinit_Mhatre ,

I would guess that you have created your Project with C# instead of vb.net and Hence whenever you use a () it gives out the error as you have provided.

Try replacing () with []

The syntax is correct, can check the data type.

Consider the @supermanPunch answer also. if you are using c# or vb.net specific
C#
OutputTransactions.SpecificContent[“FirstName”].ToString
Vb.Net
OutputTransactions.SpecificContent(“FirstName”).ToString

Regards,
Arivu

1 Like

I done like this : OutputTransactions.SpecificContent[“FirstName”].ToString()
Its working fine now
Thanks @supermanPunch & @arivu96 for your help

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.