| Visual Basic (Declaration) | |
|---|---|
<ExtensionAttribute()> Public Shared Function LoginAsync( _ ByVal source As IAuthenticationService, _ ByVal credential As IdeaBlade.EntityModel.ILoginCredential, _ ByVal onSuccess As Action, _ ByVal onFail As Action(Of Exception) _ ) As OperationResult | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim source As IAuthenticationService Dim credential As IdeaBlade.EntityModel.ILoginCredential Dim onSuccess As Action Dim onFail As Action(Of Exception) Dim value As OperationResult value = Compatibility.LoginAsync(source, credential, onSuccess, onFail) | |
| C# | |
|---|---|
[ExtensionAttribute()] public static OperationResult LoginAsync( IAuthenticationService source, IdeaBlade.EntityModel.ILoginCredential credential, Action onSuccess, Action<Exception> onFail ) | |
| C++/CLI | |
|---|---|
[ExtensionAttribute()] public: static OperationResult^ LoginAsync( IAuthenticationService^ source, IdeaBlade.EntityModel.ILoginCredential^ credential, Action^ onSuccess, Action<Exception^>^ onFail ) | |
Parameters
- source
- credential
- onSuccess
- onFail
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family