Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6390423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:32:48+00:00 2026-05-25T03:32:48+00:00

I am coding a C# .NET 3.0 asynchronous call to a WCF service. And

  • 0

I am coding a C# .NET 3.0 asynchronous call to a WCF service. And I get the following error.

Error 1 Using the generic type ‘System.Action’ requires ‘1’ type
arguments.

But when doing this in .NET 3.5 no error occurs. Doesn’t .NET 3.0 support this or I am doing wrong. I have to use .NET 3.0 because iam writing a application for XPe.

This is how my code looks like.

AsyncCallback aSyncCallBack =
delegate(IAsyncResult result)
{
    try
    {
        service.EndSubscribe(result);

        this.Dispatcher.BeginInvoke((Action)delegate
        { DGStudent.ItemsSource = test; });
    }
    catch (Exception ex)
    {
        this.Dispatcher.BeginInvoke((Action)delegate
        { MessageBox.Show(ex.Message); });
    }
};
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T03:32:48+00:00Added an answer on May 25, 2026 at 3:32 am

    The non-generic System.Action was introduced in .NET 3.5 and cannot be used from .NET 3.0. The compiler thinks you mean the generic System.Action<T> which does require a type parameter.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using visual studio 2008 coding asp.net.vb I have 20 images on my
I'm coding a comment system for an ASP.NET application written in C#. Ideally, I
OK, here is the szenario: I'm coding a .NET 3.5 WPF-Aapplication, using the Microsoft
Coding Platform: ASP.NET 4.0 C# Consider the following scenario. I am uploading a file
I have C# application we've been coding in ADO.NET. I've been using the IDbCommand
I need coding a feature (using .NET): Export a table(in web) to excel. But
Below is my coding, just have a look at it System.Net.Mail.MailMessage oMail = new
while coding in asp.net C# MVC 2.0, how to show error messages let say
The .NET coding standards PDF from SubMain that have started showing up in the
I am coding VB.NET in VS2008. I have a comma delimited string of numbers,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.