Example #1
0
        public IAsyncResult BeginGetService(string serviceName, AsyncCallback userCallback, object userStateObject)
        {
            var future = new Future(SessionNative.GetService(this._handle, serviceName), userCallback, userStateObject);

            future.ThrowIfError();
            return(future);
        }
Example #2
0
 public Future GetServiceAsync(string serviceName)
 {
     return(new Future(SessionNative.GetService(this._handle, serviceName)));
 }