public void loginAsync(NetTestClient.WCF.UserClass user, object userState) { if ((this.onBeginloginDelegate == null)) { this.onBeginloginDelegate = new BeginOperationDelegate(this.OnBeginlogin); } if ((this.onEndloginDelegate == null)) { this.onEndloginDelegate = new EndOperationDelegate(this.OnEndlogin); } if ((this.onloginCompletedDelegate == null)) { this.onloginCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnloginCompleted); } base.InvokeAsync(this.onBeginloginDelegate, new object[] { user }, this.onEndloginDelegate, this.onloginCompletedDelegate, userState); }
public void loginAsync(NetTestClient.WCF.UserClass user) { this.loginAsync(user, null); }
public System.IAsyncResult Beginlogin(NetTestClient.WCF.UserClass user, System.AsyncCallback callback, object asyncState) { return(base.Channel.Beginlogin(user, callback, asyncState)); }
private System.IAsyncResult OnBeginlogin(object[] inValues, System.AsyncCallback callback, object asyncState) { NetTestClient.WCF.UserClass user = ((NetTestClient.WCF.UserClass)(inValues[0])); return(this.Beginlogin(user, callback, asyncState)); }
public string login(NetTestClient.WCF.UserClass user) { return(base.Channel.login(user)); }