G
Gregory_May
I am writing a web service to talk to a single threaded Com Componant. Is
there a simple way to single thread my Web Service so the Com Object doesnt
get confused?
Below is a stab:
<WebMethod()> _
Public Function MyWebService(ByVal MyParm As string)
Static Dim SyncObject As New Object
SyncLock (SyncObject)
SillySingleThreadedCOMObject.Method(MyParm)
End SyncLock
End Function
there a simple way to single thread my Web Service so the Com Object doesnt
get confused?
Below is a stab:
<WebMethod()> _
Public Function MyWebService(ByVal MyParm As string)
Static Dim SyncObject As New Object
SyncLock (SyncObject)
SillySingleThreadedCOMObject.Method(MyParm)
End SyncLock
End Function