Table of Contents

Delegate ExceptionHandler

Namespace
SampSharp.OpenMp.Core
Assembly
SampSharp.OpenMp.Core.dll

Represents a method that handles exceptions.

public delegate void ExceptionHandler(string context, Exception exception)

Parameters

context string

The context in which the exception has occurred.

exception Exception

The exception which has occurred.

Constructors

ExceptionHandler(object, nint)

public ExceptionHandler(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(string, Exception, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(string context, Exception exception, AsyncCallback callback, object @object)

Parameters

context string
exception Exception
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(string, Exception)

public virtual void Invoke(string context, Exception exception)

Parameters

context string
exception Exception