AuthenticationService.EndSaveUser 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 SaveUser operation.

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

Syntax

'Declaration
Protected Friend MustOverride Function EndSaveUser ( _
    asyncResult As IAsyncResult _
) As SaveUserResult
'Usage
Dim asyncResult As IAsyncResult
Dim returnValue As SaveUserResult

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

Parameters

Return Value

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

Exceptions

Exception Condition
InvalidOperationException

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

Remarks

This method is invoked when a SaveUser operation completes. Depending on state of the operation, the RIA Services framework calls either this method or the CancelSaveUser 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