synchronized method in vb.net

  • Thread starter Thread starter Alan Wang
  • Start date Start date
A

Alan Wang

Hi there,

How can I create synchronized method in vb.net like synchronized method in
Java?

Thanks in advanced

Alan
 
Alan,

Beside the synchronized method is the Queue class in Net a very handy class.

I hope this helps,

Cor
 
Alan,

I never saw this, if you want a discussion about this, than I would in your
case ask this again in the newsgroup

microsoft.public.dotnet.general

Jon Skeet is active in that, he is using Java as much as C#.

Therefore have I the idea that he can give you much more information in the
line of what you think about synchronized. For us is it a method with
multithreading.

You are of course welcome here, it is just to get a better one to answer
you.

(Do not forget to add "as in Java" to your subject)

Cor
 
Cor,

Thanks, I will do that.

Alan
Cor Ligthert said:
Alan,

I never saw this, if you want a discussion about this, than I would in
your case ask this again in the newsgroup

microsoft.public.dotnet.general

Jon Skeet is active in that, he is using Java as much as C#.

Therefore have I the idea that he can give you much more information in
the line of what you think about synchronized. For us is it a method with
multithreading.

You are of course welcome here, it is just to get a better one to answer
you.

(Do not forget to add "as in Java" to your subject)

Cor
 
Alan,

There are two SynchronizationAttribute classes. One is in
System.EnterpriseServices and the other is in
System.Runtime.Remoting.Contexts. The first can only be used on
classes derived from ServicedComponent. The second can only be used on
classes derived from ContextBoundObject. Based on that I don't think
either Synchronization attribute fits the OP's situation.

Brian
 
Back
Top