Gets or sets the TransportProtocol to be used for receiving time-series data from the Server.
Declaration Syntax
C# | Visual Basic | Visual C++ |
[DefaultValueAttribute(TransportProtocol.Udp)] public TransportProtocol Protocol { get; set; }
<DefaultValueAttribute(TransportProtocol.Udp)> _ Public Property Protocol As TransportProtocol
[DefaultValueAttribute(TransportProtocol::Udp)] public: property TransportProtocol Protocol { TransportProtocol get (); void set (TransportProtocol value); }
Exceptions
Exception | Condition |
---|---|
ArgumentException | The value being assigned is not Tcp or Udp. |