WebAuthenticationService.CancelLoadUser 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.]
Cancels 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 Sub CancelLoadUser ( _
asyncResult As IAsyncResult _
)
'Usage
Dim asyncResult As IAsyncResult
Me.CancelLoadUser(asyncResult)
protected override void CancelLoadUser(
IAsyncResult asyncResult
)
protected:
virtual void CancelLoadUser(
IAsyncResult^ asyncResult
) override
abstract CancelLoadUser :
asyncResult:IAsyncResult -> unit
override CancelLoadUser :
asyncResult:IAsyncResult -> unit
protected override function CancelLoadUser(
asyncResult : IAsyncResult
)
Parameters
- asyncResult
Type: System.IAsyncResult
A result returned from BeginLoadUser that represents the asynchronous call to cancel.
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