public void LoginAsync(DHIWebService.LoginRequest request, 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[] { request }, this.onEndLoginDelegate, this.onLoginCompletedDelegate, userState); }
DHIWebService.LoginResponse DHIWebService.IDHIService.Login(DHIWebService.LoginRequest request) { return(base.Channel.Login(request)); }
private System.IAsyncResult OnBeginLogin(object[] inValues, System.AsyncCallback callback, object asyncState) { DHIWebService.LoginRequest request = ((DHIWebService.LoginRequest)(inValues[0])); return(((DHIWebService.IDHIService)(this)).BeginLogin(request, callback, asyncState)); }
public void LoginAsync(DHIWebService.LoginRequest request) { this.LoginAsync(request, null); }
System.IAsyncResult DHIWebService.IDHIService.BeginLogin(DHIWebService.LoginRequest request, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginLogin(request, callback, asyncState)); }