Class TrackbackClientSection
Represents the configuration section used to declarativly configure the TrackbackClient class. This class cannot be inheritied.
Inheritance
Inherited Members
Namespace: Argotic.Configuration
Assembly: Argotic.Core.dll
Syntax
public sealed class TrackbackClientSection : ConfigurationSection
Constructors
| Improve this Doc View SourceTrackbackClientSection()
Initializes a new instance of the TrackbackClientSection class.
Declaration
public TrackbackClientSection()
Properties
| Improve this Doc View SourceNetwork
Gets the network connection information.
Declaration
[ConfigurationProperty("network", DefaultValue = null, Options = ConfigurationPropertyOptions.None)]
public TrackbackClientNetworkElement Network { get; }
Property Value
Type | Description |
---|---|
TrackbackClientNetworkElement | A TrackbackClientNetworkElement object that represents the configured network connection information. |
Properties
Gets the configuration properties for this section.
Declaration
protected override ConfigurationPropertyCollection Properties { get; }
Property Value
Type | Description |
---|---|
System.Configuration.ConfigurationPropertyCollection | A System.Configuration.ConfigurationPropertyCollection object that represents the configuration properties for this section. |
Overrides
Timeout
Gets or sets a value that specifies the amount of time after which asynchronous send operations will time out.
Declaration
[ConfigurationProperty("timeout", DefaultValue = "0:0:15.0", Options = ConfigurationPropertyOptions.None)]
[TypeConverter(typeof(TimeSpan))]
public TimeSpan Timeout { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan | A System.TimeSpan that specifies the time-out period. The default value is 15 seconds. |
UserAgent
Gets or sets information such as the client application name, version, host operating system, and language.
Declaration
[ConfigurationProperty("agent", DefaultValue = "", Options = ConfigurationPropertyOptions.None)]
public string UserAgent { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that represents information such as the client application name, version, host operating system, and language. |