C# Class Amazon.Lightsail.NetworkProtocol

Constants used for properties of type NetworkProtocol.
Inheritance: ConstantClass
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Properties

Property Type Description
All NetworkProtocol
Tcp NetworkProtocol
Udp NetworkProtocol

Public Methods

Method Description
FindValue ( string value ) : NetworkProtocol

Finds the constant for the unique value.

NetworkProtocol ( string value ) : System

This constant constructor does not need to be called if the constant you are attempting to use is already defined as a static instance of this class. This constructor should be used to construct constants that are not defined as statics, for instance if attempting to use a feature that is newer than the current version of the SDK.

Method Details

FindValue() public static method

Finds the constant for the unique value.
public static FindValue ( string value ) : NetworkProtocol
value string The unique value for the constant
return NetworkProtocol

NetworkProtocol() public method

This constant constructor does not need to be called if the constant you are attempting to use is already defined as a static instance of this class. This constructor should be used to construct constants that are not defined as statics, for instance if attempting to use a feature that is newer than the current version of the SDK.
public NetworkProtocol ( string value ) : System
value string
return System

Property Details

All public static property

Constant All for NetworkProtocol
public static NetworkProtocol,Amazon.Lightsail All
return NetworkProtocol

Tcp public static property

Constant Tcp for NetworkProtocol
public static NetworkProtocol,Amazon.Lightsail Tcp
return NetworkProtocol

Udp public static property

Constant Udp for NetworkProtocol
public static NetworkProtocol,Amazon.Lightsail Udp
return NetworkProtocol