Click or drag to resize

ConnectionParameters Class

Represents the extra connection parameters required for a connection to a SEL device.
Inheritance Hierarchy
SystemObject
  GSF.PhasorProtocolsConnectionParametersBase
    GSF.PhasorProtocols.SelFastMessageConnectionParameters

Namespace: GSF.PhasorProtocols.SelFastMessage
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.218-beta
Syntax
[SerializableAttribute]
public class ConnectionParameters : ConnectionParametersBase
View Source

The ConnectionParameters type exposes the following members.

Constructors
 NameDescription
Public methodConnectionParameters Creates a new ConnectionParameters.
Protected methodConnectionParameters(SerializationInfo, StreamingContext) Creates a new ConnectionParameters from serialization parameters.
Top
Properties
 NameDescription
Public propertyMessagePeriod Gets or sets desired MessagePeriod for SEL device.
Public propertyValuesAreValid Determines if custom connection parameters are valid.
(Inherited from ConnectionParametersBase)
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
(Overrides ConnectionParametersBaseGetObjectData(SerializationInfo, StreamingContext))
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
Remarks
This class is designed to be exposed by a "PropertyGrid" so a UI can request protocol specific connection parameters. As a result the CategoryAttribute and DescriptionAttribute elements should be defined for each of the exposed properties.
See Also