mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 12:25:40 +00:00
32de2832db
* generator/Signal.cs : add try/catch blocks to native callback delegates so that exceptions are not propagated across the native boundary. Now raises GLib.ExceptionManager.UnhandledException. * glib/ExceptionManager.cs : new class with UnhandledException event and a static method to raise it. * glib/Signal.cs : wrap the generic EventHandler callback delegate with try/catch blocks and raise the UnhandledException event. svn path=/trunk/gtk-sharp/; revision=73840
23 lines
890 B
XML
23 lines
890 B
XML
<Type Name="UnhandledExceptionHandler" FullName="GLib.UnhandledExceptionHandler">
|
|
<TypeSignature Language="C#" Value="public delegate void UnhandledExceptionHandler(UnhandledExceptionArgs args);" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>glib-sharp</AssemblyName>
|
|
<AssemblyVersion>2.10.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<Base>
|
|
<BaseTypeName>System.Delegate</BaseTypeName>
|
|
</Base>
|
|
<Parameters>
|
|
<Parameter Name="args" Type="GLib.UnhandledExceptionArgs" />
|
|
</Parameters>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<param name="args">Event arguments.</param>
|
|
<summary>Reports unhandled exceptions.</summary>
|
|
<remarks>Attach to <see cref="M:GLib.EventManager.UnhandledException" /> event to receive notification of exceptions in managed callback delegates.</remarks>
|
|
<since version="Gtk# 2.10" />
|
|
</Docs>
|
|
</Type>
|