S
SamIAm
Hi There
I have a method called MyMethod in Class MyClass. Whenever MyMethod is
called I want to fire off a new thread to call another method called
MyEventMethod. I want to fire this method off on a new thread as I don't
want to wait for it to finish processing before returning to my calling app.
How should I do this? Here is some sample code:
public class MyClass
{
public MyClass()
{
}
public void MyMethod(int Param1, int Param2)
{
// Do something
}
public void MyEventMethod(int Param1, int Param2)
{
// Do something
}
}
Thanks,
S
I have a method called MyMethod in Class MyClass. Whenever MyMethod is
called I want to fire off a new thread to call another method called
MyEventMethod. I want to fire this method off on a new thread as I don't
want to wait for it to finish processing before returning to my calling app.
How should I do this? Here is some sample code:
public class MyClass
{
public MyClass()
{
}
public void MyMethod(int Param1, int Param2)
{
// Do something
}
public void MyEventMethod(int Param1, int Param2)
{
// Do something
}
}
Thanks,
S