Sdílet prostřednictvím


AsyncResult.Complete Method (Boolean)

Completes the operation and specifies whether it was completed synchronously.

Namespace: Microsoft.Web.Services3
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Public Class asyncResultImplementation
    Inherits AsyncResult
        Protected Overrides Sub Complete(completedSynchronously As Boolean)
            MyBase.Complete(completedSynchronously)
        End Sub
End Class

Syntax

'Declaration
Overloads Protected Sub Complete( _
    ByVal completedSynchronously As Boolean _
)
protected void Complete(
    bool completedSynchronously
);
protected:
void Complete(
    bool completedSynchronously
);
protected void Complete(
    boolean completedSynchronously
);
protected function Complete(
     completedSynchronously : Boolean
) : Void;

Parameters

  • completedSynchronously
    true to indicate the operation was completed synchronously; otherwise, false.

Remarks

Use this version of Complete when your asynchronous operation is complete. This method updates the state of the operation and notifies the callback.

The IsCompleted property is set to true following a call to the Complete method.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

AsyncResult Class
AsyncResult Members
Microsoft.Web.Services3 Namespace
End
IsCompleted