IdeaBlade DevForce 2010 Help Reference
LogoutAsync Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityManager Class : LogoutAsync Method



userCallback
Callback invoked when asynchronous operation completes
userState
Token identifying the asynchronous operation
Perform an asynchronous logout operation.

Syntax

Visual Basic (Declaration) 
<ObsoleteAttribute("Will be removed after 9/1/2012.  Use Authenticator.Instance.LogoutAsync instead.")>
Public Function LogoutAsync( _
   Optional ByVal userCallback As Action(Of BaseOperation), _
   Optional ByVal userState As Object _
) As BaseOperation
Visual Basic (Usage)Copy Code
Dim instance As EntityManager
Dim userCallback As Action(Of BaseOperation)
Dim userState As Object
Dim value As BaseOperation
 
value = instance.LogoutAsync(userCallback, userState)
C# 
[ObsoleteAttribute("Will be removed after 9/1/2012.  Use Authenticator.Instance.LogoutAsync instead.")]
public BaseOperation LogoutAsync( 
   Action<BaseOperation> userCallback,
   object userState
)
C++/CLI 
[ObsoleteAttribute("Will be removed after 9/1/2012.  Use Authenticator.Instance.LogoutAsync instead.")]
public:
BaseOperation^ LogoutAsync( 
   Action<BaseOperation^>^ userCallback,
   Object^ userState
) 

Parameters

userCallback
Callback invoked when asynchronous operation completes
userState
Token identifying the asynchronous operation

Remarks

Provide a userCallback if you want to be notified when the operation completes. Use the userState to uniquely identify this call.

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.