From 569c4a5c20c475bf34894849c4bc64b37f857ef1 Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Thu, 9 May 2024 10:03:25 +0100 Subject: [PATCH] - .NET API: Added toString method for IedClientError (calling native function IedClientError_toString) --- dotnet/example2/WriteValueExample.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/example2/WriteValueExample.cs b/dotnet/example2/WriteValueExample.cs index eb8b0228..b3ea3c04 100644 --- a/dotnet/example2/WriteValueExample.cs +++ b/dotnet/example2/WriteValueExample.cs @@ -36,7 +36,7 @@ namespace example2 } catch (IedConnectionException e) { - Console.WriteLine("IED connection excepion: " + e.Message); + Console.WriteLine("IED connection exception: " + e.Message + " err: " + e.GetIedClientError().ToString()); } // release all resources - do NOT use the object after this call!!