AuthenticationService.EndLoadUser 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 LoadUser operation.

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

Syntax

'Declaration
Protected Friend MustOverride Function EndLoadUser ( _
    asyncResult As IAsyncResult _
) As LoadUserResult
'Usage
Dim asyncResult As IAsyncResult
Dim returnValue As LoadUserResult

returnValue = Me.EndLoadUser(asyncResult)
protected internal abstract LoadUserResult EndLoadUser(
    IAsyncResult asyncResult
)
protected public:
virtual LoadUserResult^ EndLoadUser(
    IAsyncResult^ asyncResult
) abstract
abstract EndLoadUser : 
        asyncResult:IAsyncResult -> LoadUserResult 
 abstract function EndLoadUser(
    asyncResult : IAsyncResult
) : LoadUserResult

Parameters

Return Value

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

Exceptions

Exception Condition
InvalidOperationException

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

Remarks

This method is invoked when a LoadUser operation completes. Depending on state of the operation, the RIA Services framework calls either this method or the CancelLoadUser method, but not both methods.

Exceptions thrown from this method will be available in Error.

See Also

Reference

AuthenticationService Class

System.ServiceModel.DomainServices.Client.ApplicationServices Namespace