Export (0) Print
Expand All

AuthenticationService.LoadUser Method (Action<LoadUserOperation>, Object)

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

Asynchronously loads the authenticated user from the server with specified callback method and user state.

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

public LoadUserOperation LoadUser(
	Action<LoadUserOperation> completeAction,
	Object userState
)

Parameters

completeAction
Type: System.Action<LoadUserOperation>
An action that will be invoked immediately after the operation completes and is called in all cases, including success, cancellation, and error. This parameter is optional.
userState
Type: System.Object
The state that will be set into UserState. This parameter is optional.

ExceptionCondition
InvalidOperationException

This method is called while another asynchronous operation is still being processed.

Successful completion of this operation will update the User.

Show:
© 2014 Microsoft