GtkSharp/doc/en/GLib/UnhandledExceptionArgs.xml
Mike Kestner 32de2832db 2007-03-06 Mike Kestner <mkestner@novell.com>
* 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
2007-03-06 20:10:15 +00:00

44 lines
1.8 KiB
XML

<Type Name="UnhandledExceptionArgs" FullName="GLib.UnhandledExceptionArgs">
<TypeSignature Language="C#" Value="public class UnhandledExceptionArgs : UnhandledExceptionEventArgs" />
<AssemblyInfo>
<AssemblyName>glib-sharp</AssemblyName>
<AssemblyVersion>2.10.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.UnhandledExceptionEventArgs</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UnhandledExceptionArgs (Exception e, bool is_terminal);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="e" Type="System.Exception" />
<Parameter Name="is_terminal" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="e">Exception.</param>
<param name="is_terminal">If <see langword="true" />, the application is terminating.</param>
<summary>Public constructor.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="ExitApplication">
<MemberSignature Language="C#" Value="public bool ExitApplication { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>ExitApplication property.</summary>
<value>If <see langword="true" />, the application will exit.</value>
<remarks>Indicates if an application wants to exit after event propagation is complete.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>UnhandledExceptionArgs event arguments.</summary>
<remarks>Event arguments for <see cref="T:GLib.UnhandledExceptionHandler" /> events.</remarks>
<since version="Gtk# 2.10" />
</Docs>
</Type>