WebAuthenticationService.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.Web (in System.ServiceModel.DomainServices.Client.Web.dll)
Syntax
'Declaration
Protected Overrides Function EndLoadUser ( _
asyncResult As IAsyncResult _
) As LoadUserResult
'Usage
Dim asyncResult As IAsyncResult
Dim returnValue As LoadUserResult
returnValue = Me.EndLoadUser(asyncResult)
protected override LoadUserResult EndLoadUser(
IAsyncResult asyncResult
)
protected:
virtual LoadUserResult^ EndLoadUser(
IAsyncResult^ asyncResult
) override
abstract EndLoadUser :
asyncResult:IAsyncResult -> LoadUserResult
override EndLoadUser :
asyncResult:IAsyncResult -> LoadUserResult
protected override function EndLoadUser(
asyncResult : IAsyncResult
) : LoadUserResult
Parameters
- asyncResult
Type: System.IAsyncResult
A result returned from BeginLoadUser that represents the asynchronous call to conclude.
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. |
See Also
Reference
WebAuthenticationService Class
System.ServiceModel.DomainServices.Client.ApplicationServices Namespace