Show / Hide Table of Contents

Class RetryAction

Delegate used by Retry<TException>(RetryAction, Int32).

Inheritance
Object
RetryAction
Namespace: NanoByte.Common
Assembly: NanoByte.Common.dll
Syntax
public sealed class RetryAction : MulticastDelegate

Constructors

RetryAction(Object, IntPtr)

Declaration
public RetryAction(object object, IntPtr method)
Parameters
Type Name Description
Object object
IntPtr method

Methods

BeginInvoke(Boolean, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(bool lastAttempt, AsyncCallback callback, object object)
Parameters
Type Name Description
Boolean lastAttempt
AsyncCallback callback
Object object
Returns
Type Description
IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type Name Description
IAsyncResult result

Invoke(Boolean)

Declaration
public virtual void Invoke(bool lastAttempt)
Parameters
Type Name Description
Boolean lastAttempt

Extension Methods

UpdateUtils.To<TIn, TOut>(TIn, Func<TIn, TOut>)
JsonStorage.SaveJson<T>(T, Stream)
JsonStorage.SaveJson<T>(T, String)
JsonStorage.ToJsonString<T>(T)
JsonStorage.ReparseAsJson<T>(Object)
JsonStorage.ReparseAsJson<T>(Object, T)
XmlStorage.SaveXml(Object, Stream, String)
XmlStorage.SaveXml<T>(T, String, String)
XmlStorage.ToXmlString(Object, String)
ConversionUtils.ConvertToString<TType>(TType)

See Also

Retry<TException>(RetryAction, Int32)
In This Article
Back to top Copyright Bastian Eicher