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