Click or drag to resize
OSIsoft, LLC

PIConnectFailedEventArgs Constructor

Initializes a new instance of the PIConnectFailedEventArgs class.

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.8.440
Syntax
public PIConnectFailedEventArgs(
	PIServer piServer,
	PIConnectionException ex,
	bool allowAutoPrompt
)

Parameters

piServer
Type: OSIsoft.AF.PIPIServer
The PIServer that failed to connect.
ex
Type: OSIsoft.AF.PIPIConnectionException
The PIConnectionException for the failed connection attempt.
allowAutoPrompt
Type: SystemBoolean
The value for the AllowAutoPrompt property which indicates whether an auto prompt should be attempted.
Remarks
This constructor is to be used for creating the EventArgs for the ConnectFailed event.
Version Information

AFSDK

Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6, 2.5
See Also
Enabling Operational Intelligence