22 * Copyright (c) 2005-2019 The OPC Foundation, Inc. All rights reserved.
33 *
44 * OPC Foundation MIT License 1.00
5- *
5+ *
66 * Permission is hereby granted, free of charge, to any person
77 * obtaining a copy of this software and associated documentation
88 * files (the "Software"), to deal in the Software without
1111 * copies of the Software, and to permit persons to whom the
1212 * Software is furnished to do so, subject to the following
1313 * conditions:
14- *
14+ *
1515 * The above copyright notice and this permission notice shall be
1616 * included in all copies or substantial portions of the Software.
1717 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
@@ -45,9 +45,10 @@ public SampleClientForm()
4545 public SampleClientForm (
4646 ApplicationInstance application ,
4747 ClientForm masterForm ,
48- ApplicationConfiguration configuration )
48+ ApplicationConfiguration configuration ,
49+ ITelemetryContext telemetry )
4950 :
50- base ( configuration . CreateMessageContext ( ) , application , masterForm , configuration )
51+ base ( configuration . CreateMessageContext ( ) , application , masterForm , configuration , telemetry )
5152 {
5253 InitializeComponent ( ) ;
5354
@@ -71,7 +72,7 @@ void CertificateValidator_CertificateValidation(CertificateValidator validator,
7172 }
7273 catch ( Exception exception )
7374 {
74- GuiUtils . HandleException ( this . Text , MethodBase . GetCurrentMethod ( ) , exception ) ;
75+ GuiUtils . HandleException ( m_telemetry , this . Text , MethodBase . GetCurrentMethod ( ) , exception ) ;
7576 }
7677 }
7778 }
0 commit comments