AuthenticationService.CancelSaveUser Method

WCF RIA Services

[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.]

Cancels an asynchronous SaveUser operation.

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

protected internal virtual void CancelSaveUser(
	IAsyncResult asyncResult


Type: System.IAsyncResult
A result returned from BeginSaveUser that represents the asynchronous call to cancel.


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


SupportsCancellation is false.

When you override this method, you do not need to call the base method. This method is invoked when a SaveUser operation is canceled. Either this method or EndSaveUser will be invoked to conclude the operation, but not both. After CancelSaveUser is called, the callback passed in to BeginSaveUser should not be invoked. Exceptions thrown from this method will be available in Error.