Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CancelLogin Method

WebAuthenticationService.CancelLogin 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 Login operation.

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

protected override void CancelLogin(
	IAsyncResult asyncResult
)

Parameters

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

ExceptionCondition
InvalidOperationException

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

Show:
© 2015 Microsoft