Export (0) Print
Expand All

AuthenticationService.BeginLogin 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.]

Begins an asynchronous Login operation.

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

protected internal abstract IAsyncResult BeginLogin(
	LoginParameters parameters,
	AsyncCallback callback,
	Object state
)

Parameters

parameters
Type: System.ServiceModel.DomainServices.Client.ApplicationServices.LoginParameters
Login parameters that specify the user to authenticate. This parameter is optional.
callback
Type: System.AsyncCallback
A callback that should be invoked when the asynchronous call completes.
If the asynchronous call is canceled, the callback should not be invoked. This parameter is optional.
state
Type: System.Object
The state that should be set into the IAsyncResult this method returns. This parameter is optional.

Return Value

Type: System.IAsyncResult
A handle that can be used to reference this asynchronous call.

This method is invoked from Login. Exceptions thrown from this method will prevent the operation from starting and then will be thrown from Login.

Show:
© 2014 Microsoft