Share via


WebAuthenticationService.EndLogin 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 Login 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 EndLogin ( _
    asyncResult As IAsyncResult _
) As LoginResult
'Usage
Dim asyncResult As IAsyncResult
Dim returnValue As LoginResult

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

Parameters

Return Value

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

Exceptions

Exception Condition
InvalidOperationException

asyncResult was not returned from BeginLogin 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