Click here to Skip to main content
15,891,423 members
Articles / Web Development / ASP.NET

BackgroundWorker in Silverlight

Rate me:
Please Sign up or sign in to vote.
4.33/5 (4 votes)
4 Feb 2008CPOL2 min read 49.7K   330   38  
Why not create our own BackgroundWorker for use with Silverlight?
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SilverlightClassLibrary.Threading
{  

    /// <summary>
    /// <para>Represents the method that will handle the <see cref="BackgroundWorker.DoWork"/> event.</para>
    /// </summary>
    /// <param name="sender">The source of the event.</param>
    /// <param name="e">A <see cref="DoWorkEventArgs"/> that contains the event data.</param>
    public delegate void DoWorkEventHandler(object sender, DoWorkEventArgs e);

}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect Viablue - GraphicStream
France France
I spent most of time on Silverlight, Xna (where i am MVP) and ADO.Net Data Services.

Comments and Discussions