I
intrader
What I have is a class A with a method Foo. I would like to create a
thread that instances A and then calls Foo asynchronously while
performing other duties.
I think that the solution is to write an asynchronous version of Foo so
that the caller can pass a callback as in the signature:
public static IAsyncResult Foo(
FooParams fooParams,
AsyncCallback requestCallback,
object StateObject
);
Is this possible?
Thanks
thread that instances A and then calls Foo asynchronously while
performing other duties.
I think that the solution is to write an asynchronous version of Foo so
that the caller can pass a callback as in the signature:
public static IAsyncResult Foo(
FooParams fooParams,
AsyncCallback requestCallback,
object StateObject
);
Is this possible?
Thanks