Delegate UnhandledExceptionHandler
Represents a method that handles an unhandled exception occurred within SampSharp.OpenMp.Entities.
public delegate void UnhandledExceptionHandler(IServiceProvider serviceProvider, string context, Exception exception)
Parameters
serviceProviderIServiceProviderThe service provider.
contextstringContext in which the exception occurred.
exceptionExceptionThe exception.
Constructors
UnhandledExceptionHandler(object, nint)
public UnhandledExceptionHandler(object @object, nint method)
Parameters
Methods
BeginInvoke(IServiceProvider, string, Exception, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(IServiceProvider serviceProvider, string context, Exception exception, AsyncCallback callback, object @object)
Parameters
serviceProviderIServiceProvidercontextstringexceptionExceptioncallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Invoke(IServiceProvider, string, Exception)
public virtual void Invoke(IServiceProvider serviceProvider, string context, Exception exception)
Parameters
serviceProviderIServiceProvidercontextstringexceptionException