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 7883297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:29:41+00:00 2026-06-03T04:29:41+00:00

I currently ran into the issue of making my Windows Phone application performing a

  • 0

I currently ran into the issue of making my Windows Phone application performing a cross-thread operation.

In the defualt C# [Windows Form Application], there is an option / variable called “CheckForIllegalCrossThreads” – If you set this variables property to “False” the application no longer checks for illegal cross threads durning runtime action.

Actual Question: Does this variable exist under another name in a silverlight windows phone application project?

Update: [Issue solved, thanks to Jon Skeet]


For other people whose looking for a way to solve this issue, or a simmilar issue: I solved this issue using [as mentioned above] “Dispatcher.BeginInvoke”

Thread myThread;
public MainPage()
    {

        InitializeComponent();

        myThread = new Thread(ThreadPromt);
        myThread.Start();
    }

Private void ThreadPromt()
{
Dispatcher.BeginInvoke(deleage(
     MessageBox.Show(string.Format("Accessed from another thread: {0}", SampleLabel.Text);
     ButtonSample.Text = "Accessed from another thread...";
);
}
  • 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-06-03T04:29:43+00:00Added an answer on June 3, 2026 at 4:29 am

    Actual Question: Does this variable exist under another name in a silverlight windows phone application project?

    Even if it did, you shouldn’t use it. Setting the value to false isn’t the right thing to do under Windows Forms, either.

    If the “low fuel” light in your car comes on, do you disconnect it, or do you refuel your car? The same applies here: fix the problem, not the warning. Don’t access UI elements directly other than from the UI thread. Use Control.Invoke/BeginInvoke in Windows Forms, or Dispatcher.Invoke/BeginInvoke in WPF/Silverlight to marshal execution to the UI thread.

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

Sidebar

Related Questions

I am currently porting an application from iOS into Android and I have ran
Alright, so I'm currently working on a game and ran into a memory issue
I recently ran into an unusual issue with compiling an internal application, as you
I currently ran into the issue that I do not have the money to
I'm currently working on an iPad App and ran into the following Issue. When
Our current project has ran into a circular dependency issue. Our business logic assembly
Currently developing a PHP framework and have ran into my first problem. I need
I'm currently preparing a major Program-Update and ran into following problem: I've got a
I'm currently getting to grips with mod_rewrite and have ran into a stumbling block
I'm currently playing around with tipfy on Google's Appengine and just recently ran into

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.