LimitManager.GetLimit 方法

定义

重载

GetLimit(String)
GetLimit(String, Int32)
GetLimit(String, Int32, Int32)

GetLimit(String)

Source:
LimitManager.cs
public Orleans.Runtime.Configuration.LimitValue GetLimit (string name);
member this.GetLimit : string -> Orleans.Runtime.Configuration.LimitValue
Public Function GetLimit (name As String) As LimitValue

参数

name
String

返回

适用于

GetLimit(String, Int32)

Source:
LimitManager.cs
public Orleans.Runtime.Configuration.LimitValue GetLimit (string name, int defaultSoftLimit);
member this.GetLimit : string * int -> Orleans.Runtime.Configuration.LimitValue
Public Function GetLimit (name As String, defaultSoftLimit As Integer) As LimitValue

参数

name
String
defaultSoftLimit
Int32

返回

适用于

GetLimit(String, Int32, Int32)

Source:
LimitManager.cs
public Orleans.Runtime.Configuration.LimitValue GetLimit (string name, int defaultSoftLimit, int defaultHardLimit);
member this.GetLimit : string * int * int -> Orleans.Runtime.Configuration.LimitValue
Public Function GetLimit (name As String, defaultSoftLimit As Integer, defaultHardLimit As Integer) As LimitValue

参数

name
String
defaultSoftLimit
Int32
defaultHardLimit
Int32

返回

适用于