Table of Contents

Delegate UnhandledExceptionHandler

Namespace
SampSharp.Entities
Assembly
SampSharp.OpenMp.Entities.dll

Represents a method that handles an unhandled exception occurred within SampSharp.OpenMp.Entities.

public delegate void UnhandledExceptionHandler(IServiceProvider serviceProvider, string context, Exception exception)

Parameters

serviceProvider IServiceProvider

The service provider.

context string

Context in which the exception occurred.

exception Exception

The exception.

Constructors

UnhandledExceptionHandler(object, nint)

public UnhandledExceptionHandler(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(IServiceProvider, string, Exception, AsyncCallback, object)

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

Parameters

serviceProvider IServiceProvider
context string
exception Exception
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(IServiceProvider, string, Exception)

public virtual void Invoke(IServiceProvider serviceProvider, string context, Exception exception)

Parameters

serviceProvider IServiceProvider
context string
exception Exception