WebAuthenticationService.EndLogout Method

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Ends an asynchronous Logout operation.

Namespace:  System.ServiceModel.DomainServices.Client.ApplicationServices
Assembly:  System.ServiceModel.DomainServices.Client.Web (in System.ServiceModel.DomainServices.Client.Web.dll)

Syntax

'Declaration
Protected Overrides Function EndLogout ( _
    asyncResult As IAsyncResult _
) As LogoutResult
'Usage
Dim asyncResult As IAsyncResult
Dim returnValue As LogoutResult

returnValue = Me.EndLogout(asyncResult)
protected override LogoutResult EndLogout(
    IAsyncResult asyncResult
)
protected:
virtual LogoutResult^ EndLogout(
    IAsyncResult^ asyncResult
) override
abstract EndLogout : 
        asyncResult:IAsyncResult -> LogoutResult 
override EndLogout : 
        asyncResult:IAsyncResult -> LogoutResult 
protected override function EndLogout(
    asyncResult : IAsyncResult
) : LogoutResult

Parameters

Return Value

Type: System.ServiceModel.DomainServices.Client.ApplicationServices.LogoutResult
The result of the operation.

Exceptions

Exception Condition
InvalidOperationException

asyncResult was not returned from BeginLogout or the asynchronous call has already been concluded with a previous call to cancel or end.

See Also

Reference

WebAuthenticationService Class

System.ServiceModel.DomainServices.Client.ApplicationServices Namespace