 | RpcHelperTryRemotingCall Method |
Tries to execute a remoting calls, and retries it if a network failure occurs.
Namespace: Ookii.Jumbo.RpcAssembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic static void TryRemotingCall(
Action remotingAction,
int retryInterval,
int maxRetries
)
Public Shared Sub TryRemotingCall (
remotingAction As Action,
retryInterval As Integer,
maxRetries As Integer
)
public:
static void TryRemotingCall(
Action^ remotingAction,
int retryInterval,
int maxRetries
)
static member TryRemotingCall :
remotingAction : Action *
retryInterval : int *
maxRetries : int -> unit
Parameters
- remotingAction Action
- The Action that performs the remoting call.
- retryInterval Int32
- The amount of time to wait, in milliseconds, before retrying after a failure.
- maxRetries Int32
- The maximum amount of times to retry, or -1 to retry indefinitely.
See Also