[This is preliminary documentation and is subject to change.]
Constructor
Namespace: NFX.ThrottlingAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public TimeSpacingThrottle(
string name,
int throttleLimit,
int throttleInterval = 1,
string unit = null
)
public TimeSpacingThrottle(
string name,
int throttleLimit,
int throttleInterval = 1,
string unit = null
)
Public Sub New (
name As String,
throttleLimit As Integer,
Optional throttleInterval As Integer = 1,
Optional unit As String = Nothing
)
Public Sub New (
name As String,
throttleLimit As Integer,
Optional throttleInterval As Integer = 1,
Optional unit As String = Nothing
)
public:
TimeSpacingThrottle(
String^ name,
int throttleLimit,
int throttleInterval = 1,
String^ unit = nullptr
)
public:
TimeSpacingThrottle(
String^ name,
int throttleLimit,
int throttleInterval = 1,
String^ unit = nullptr
)
new :
name : string *
throttleLimit : int *
?throttleInterval : int *
?unit : string
(* Defaults:
let _throttleInterval = defaultArg throttleInterval 1
let _unit = defaultArg unit null
*)
-> TimeSpacingThrottle
new :
name : string *
throttleLimit : int *
?throttleInterval : int *
?unit : string
(* Defaults:
let _throttleInterval = defaultArg throttleInterval 1
let _unit = defaultArg unit null
*)
-> TimeSpacingThrottle
Parameters
- name
- Type:
System String
Name of this instance
- throttleLimit
- Type:
System Int32
Throttling limit per throttleInterval
- throttleInterval (Optional)
- Type:
System Int32
Throttling interval in number of seconds
- unit (Optional)
- Type:
System String
Unit of measurement