WebClientAsyncResult::CompletedSynchronously Property
.NET Framework (current version)
Gets a value indicating whether the Begin call completed synchronously.
Assembly: System.Web.Services (in System.Web.Services.dll)
Property Value
Type: System::Booleantrue if the Begin call completed synchronously; otherwise, false.
Implements
IAsyncResult::CompletedSynchronouslyIf CompletedSynchronously is set to true within the AsyncCallback delegate, it is probable that the thread that called BeginInvoke is the current thread. In this case, you should be careful about making another asynchronous Begin call from the callback method, since it can cause the stack to grow without bound if the calls continue to complete synchronously. Instead, the call should be completed at the original call site, outside the callback method.
.NET Framework
Available since 1.1
Available since 1.1
Show: