Comments (3)
Apparently the base.OnStart() does not expect to be overridden with an 'async' version.
You can get it to work if you remove the async keyword and change the line with the await to:
var getEndpointsResponse = UaTcpDiscoveryClient.GetEndpointsAsync(getEndpointsRequest).Result;
from opc-ua-samples.
Thank you for the hint.
But why does the second constructor (with discovery url) work even with async OnStart ?
from opc-ua-samples.
I put a try / catch around the code you added. It caught a JavaException. All I could understand is that Xamarin Forms is doing a lot behind the scenes to make it easy to be cross platform.
from opc-ua-samples.
Related Issues (20)
- UWP app rebuild issue in Visual Studio 2015 HOT 2
- Can we send live data dump to Sql Server from PLC HOT 4
- Timing at application startup HOT 1
- Fetch Live data from method HOT 15
- Server certificate rejected HOT 2
- How to make these parameter can modify HOT 4
- [RobotApp] XAML Designer crashing caused by AlarmConditionToStringConverter (VS2017) HOT 5
- OPC UA Example of website HOT 6
- OPC UA samples for opc-ua client 2.0.0* prerelease HOT 8
- Get node id, node name (tag name) in data change notification HOT 4
- Get the nodeid corresponding to Tag name and vice versa HOT 6
- Can use thingsboard connect your UA server? HOT 24
- Keep checking if the opc server is connected HOT 1
- Node monitoring reliability HOT 4
- Unable to connect to RobotServer using ConsoleApp due to Certificate issue HOT 4
- How does the initial reconnect work? HOT 1
- Workstation.RobotApp Exception in Windows.UI.Xaml.dll code 0xc000027b HOT 1
- Why does this throw "LocalPrivateKey is null" HOT 2
- Wpf on .NET 5 HOT 1
- Workstation.RobotServer with MonitoringMode.Sampling
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 opc-ua-samples.