public ReconnectionPlugin<TClient> SetConnectAction(
int tryCount = 10,
bool printLog = false,
int sleepTime = 1000,
Action<TClient> successCallback = null
)
Public Function SetConnectAction (
Optional tryCount As Integer = 10,
Optional printLog As Boolean = false,
Optional sleepTime As Integer = 1000,
Optional successCallback As Action(Of TClient) = Nothing
) As ReconnectionPlugin(Of TClient)
member SetConnectAction :
?tryCount : int *
?printLog : bool *
?sleepTime : int *
?successCallback : Action<'TClient>
(* Defaults:
let _tryCount = defaultArg tryCount 10
let _printLog = defaultArg printLog false
let _sleepTime = defaultArg sleepTime 1000
let _successCallback = defaultArg successCallback null
*)
-> ReconnectionPlugin<'TClient>
[缺少 "M:TouchSocket.Sockets.ReconnectionPlugin`1.SetConnectAction(System.Int32,System.Boolean,System.Int32,System.Action{`0})" 的 <returns> 文档]