'Declaration<ExtensionAttribute()> Public Overloads Shared Sub DataSourceConnectionFailure( _ ByVal producer As ISparkplugProducer, _ ByVal exception As Exception _ )
'UsageDim producer As ISparkplugProducer Dim exception As Exception ISparkplugProducerExtension.DataSourceConnectionFailure(producer, exception)
[Extension()] public static void DataSourceConnectionFailure( ISparkplugProducer producer, Exception exception )
[Extension()] public: static void DataSourceConnectionFailure( ISparkplugProducer^ producer, Exception^ exception )
Parameters
- producer
- The Sparkplug producer that will perform the operation.
The value of this parameter cannot be
null(Nothingin Visual Basic). - exception
- The exception object that describes the cause of the failure.
The value of this parameter cannot be
null(Nothingin Visual Basic).