Click or drag to resize
OSIsoft, LLC

PIConnectFailedEventArgs Class

Provides data for the ConnectFailed event.
Inheritance Hierarchy

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.6.195
Syntax
public sealed class PIConnectFailedEventArgs : AFEventArgs, 
	IEquatable<PIConnectFailedEventArgs>

The PIConnectFailedEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodPIConnectFailedEventArgs
Initializes a new instance of the PIConnectFailedEventArgs class.
Top
Properties
  NameDescription
Public propertyAllowAutoPrompt
This property is when a connection to a PIServer fails when a login prompt would normally have been displayed.
Public propertyException
The PIConnectionException associated with the failed connection to the PIServer.
Public propertyID
The ID of the PIServer that failed to connect.
(Overrides AFEventArgsID.)
Public propertyPIServer
The PIServer associated with this event.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(PIConnectFailedEventArgs)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Gets the hash code for this instance of the object which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current object.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
The equality operator (==) compares its operands to determine if they are equal.
Public operatorStatic memberInequality
The inequality operator (!=) compares its operands to determine if they are not equal.
Top
Remarks
A ConnectFailed event is raised when a connection to a PIServer fails when a login prompt would normally have been displayed.
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