Dim stream As FileStream = New FileStream("jsonFile.json", FileMode.Open)
Dim iconfig As IBoxConfig = BoxConfig.CreateFromJsonFile(stream)
Dim admintoken As String = boxJWT.AdminToken()
Dim adminClient As BoxClient = boxJWT.AdminClient(admintoken)
Dim boxJWT As BoxJWTAuth = New BoxJWTAuth(iconfig)
Dim userToken As String = boxJWT.UserToken(userId)
Dim userClient As BoxClient = boxJWT.UserClient(userToken, userId)
代码在Visual Studio中成功完成,但在Blue Prism中失败了。 错误发生在这里--Dim admintoken As String = boxJWT.AdminToken()