| RpcHelperTryRemotingCall Method |
Tries to execute a remoting calls, and retries it if a network failure occurs.
Namespace:
Ookii.Jumbo.Rpc
Assembly:
Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax public 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
- Type: SystemAction
The Action that performs the remoting call. - retryInterval
- Type: SystemInt32
The amount of time to wait, in milliseconds, before retrying after a failure. - maxRetries
- Type: SystemInt32
The maximum amount of times to retry, or -1 to retry indefinitely.
See Also