ClientVariablesGetNetWorkType 方法 |
获取网络类型
命名空间:
Smobiler.Core
程序集:
Smobiler.Core (在 Smobiler.Core.dll 中) 版本:6.0.641.16928
语法 public void GetNetWorkType(
NetWorkCallBackHandler handler,
int timeout = 0
)
Public Sub GetNetWorkType (
handler As NetWorkCallBackHandler,
Optional timeout As Integer = 0
)
参数
- handler
- 类型:Smobiler.CoreNetWorkCallBackHandler
回调 - timeout (Optional)
- 类型:SystemInt32
超时时间,默认为0,为0时代表永不超时,大于0时,到达指定的超时时间后会自动触发handler,单位为秒
备注 参见