Set ConcurrencyMode to Reentrant as shown below above the class implemented the Service contract interface.
[ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple)]
Set the property of the Form/Page class in the client application as below.
[CallbackBehavior(UseSynchronizationContext = false)]
Set the text box property CheckForIllegalCrossThreadCalls to false like below in the method describing duplext contract.
TextBox.CheckForIllegalCrossThreadCalls = false;
[ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple)]
Set the property of the Form/Page class in the client application as below.
[CallbackBehavior(UseSynchronizationContext = false)]
Set the text box property CheckForIllegalCrossThreadCalls to false like below in the method describing duplext contract.
TextBox.CheckForIllegalCrossThreadCalls = false;
0 comments:
Post a Comment