IdeaBlade DevForce 2010 Help Reference
Completed Event
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > BaseOperation Class : Completed Event



Raised when the operation finishes.

Syntax

Visual Basic (Declaration) 
Public Event Completed As EventHandler(Of AsyncEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As BaseOperation
Dim handler As EventHandler(Of AsyncEventArgs)
 
AddHandler instance.Completed, handler
C# 
public event EventHandler<AsyncEventArgs> Completed
C++/CLI 
public:
event EventHandler<AsyncEventArgs^>^ Completed

Event Data

The event handler receives an argument of type AsyncEventArgs containing data related to this event. The following AsyncEventArgs properties provide information specific to this event.

PropertyDescription
Cancelled Returns whether the operation was cancelled.
CompletedSuccessfully Returns whether the operation completed successfully.
CompletedSynchronously Returns whether the operation was completed synchronously.
Error The exception, if any, thrown by the underlying operation.
HasError Returns whether the operation failed.
IsCompleted Returns whether the operation completed.
IsErrorHandled Whether the Error was handled ( if one exists).
IsUnavailable Internal use only.
UserState Uniquely identifies the asynchronous operation.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.