/// <remarks/> public void LoginAsync(UserCredentials credentials) { this.LoginAsync(credentials, null); }
/// <remarks/> public void LoginAsync(UserCredentials credentials, object userState) { if ((this.LoginOperationCompleted == null)) { this.LoginOperationCompleted = new System.Threading.SendOrPostCallback(this.OnLoginOperationCompleted); } this.InvokeAsync("Login", new object[] { credentials}, this.LoginOperationCompleted, userState); }
public void Login(UserCredentials credentials) { this.Invoke("Login", new object[] { credentials}); }