Comments (8)
Thanks for the report. I'll check it.
from backlog4net.
@trinhbaan24 I checked it but it worked in my environment. Does other methods work?
from backlog4net.
this is my source code. other methods is not work too. does this code true?
`Imports Backlog4net
Imports Backlog4net.Api.Option
Imports Backlog4net.Conf
Module C00_E00XF
'*******************************************************************************
#Region ""
#End Region
'#Region "MAIN"
Sub Main()
Dim task = New Task(AddressOf ProcessDataAsync)
' Start and wait for task to end.
task.Start()
task.Wait()
Console.ReadLine()
End Sub
Async Sub ProcessDataAsync()
Dim conf As New BacklogJpConfigure("chiyotest") 'spaceKey
conf.ApiKey = "ICESrRCu3LmGPNtJIwA6cyndnFsDNeiopFJP1QltR5rWB0RKvcCFiY9G7n1gKdrh"
Dim backlogClient = New BacklogClientFactory(conf).NewClient()
Try
Dim project = Await backlogClient.GetProjectAsync("T_CHIYODA")
Console.WriteLine("Please wait, processing find projectId")
Dim projectId = project.Id
Dim listIssue = Await backlogClient.GetIssuesAsync(New GetIssuesParams(projectId))
Console.WriteLine("Please wait, processing")
Console.WriteLine("Count: " + listIssue.Count.ToString)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End Sub`
from backlog4net.
Your program worked in my environment.
The results are as follows
Please wait, processing find projectId
Please wait, processing
Count: 20
However, asynchronous methods are incorrectly used, which may cause problems.
Can not set asynchronous method in Task constructor argument.
Dim task = New Task(AddressOf ProcessDataAsync)
Please try to see if the following program works properly.
Sub Main()
ProcessDataAsync().Wait()
Console.ReadLine()
End Sub
Async Function ProcessDataAsync() As Task
Dim conf As New BacklogJpConfigure("chiyotest") 'spaceKey
conf.ApiKey = "ICESrRCu3LmGPNtJIwA6cyndnFsDNeiopFJP1QltR5rWB0RKvcCFiY9G7n1gKdrh"
Dim backlogClient = New BacklogClientFactory(conf).NewClient()
Try
Dim project = Await backlogClient.GetProjectAsync("T_CHIYODA")
Console.WriteLine("Please wait, processing find projectId")
Dim projectId = project.Id
Dim listIssue = Await backlogClient.GetIssuesAsync(New GetIssuesParams(projectId))
Console.WriteLine("Please wait, processing")
Console.WriteLine("Count: " + listIssue.Count.ToString)
Catch ex As Exception
Console.WriteLine(ex.Message)
End Try
End Function
from backlog4net.
thank for your comfirm.
However,it not worked in my environment.
can you send to me your Backlog4net.dll?
please!
from backlog4net.
@trinhbaan24
I will share the Visual Studio 2017 Project with you built and executed your source code.
Please download here.
https://www.dropbox.com/s/onar9ar8oatck6n/ConsoleApp1.zip?dl=1
from backlog4net.
thank you very much
it is worked.
from backlog4net.
@trinhbaan24
That's good.
I close this issue.
from backlog4net.
Related Issues (20)
- CI用テストのスペースを変更する
- マイルストーンの追加、更新、削除のActivity実装クラスを追加する
- [Bug] DiskUsageJsonImpl.Details のデシリアライズでエラー
- DeleteWikiAsync でエラー
- AddWikiAttachmentParamsのattachmentIds引数を可変長にする
- WikiMethods.LinkWikiSharedFileAsyncのfileIds引数を可変長にする HOT 1
- [Bug] StarMethods.AddStarToWikiAsync でエラー
- [Bug] Webhook.IsAllEventに値がセットされない
- Watch.AlreadyReadAsString プロパティを削除する
- GetUserWatchCountAsync, GetUserWatchesAsync 引数見直し
- [Bug] PullRequestQueryParamsの不備
- [Bug]UpdatePullRequestParamsの不備
- [Bug] PullRequestCommentJsonImplのデシリアライズでエラー
- [Bug]UpdatePullRequestCommentParamsの不備
- IssueTypeにDisplayOrderを追加
- [Bug] GroupJsonImplのデシリアライズエラー
- CreateIssueParamsコンストラクタ projectId の引数がIdOrKeyになっている
- backlog4net not work in win10 HOT 1
- backlog.com用のConfigureを追加してほしい
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backlog4net.