<Type Name="ErrorHandler" FullName="Gda.ErrorHandler"> <TypeSignature Language="C#" Maintainer="auto" Value="public sealed delegate void ErrorHandler (object o, Gda.ErrorArgs args);" /> <AssemblyInfo> <AssemblyName>gda-sharp</AssemblyName> <AssemblyPublicKey> </AssemblyPublicKey> <AssemblyVersion>0.0.0.0</AssemblyVersion> <AssemblyCulture>neutral</AssemblyCulture> <Attributes /> </AssemblyInfo> <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement> <Docs> <summary>Event handler.</summary> <remarks> <para>The following events utilize this delegate:</para> <para> <list type="bullet"> <item> <term> <see cref="M:Gda.Connection.Error" /> </term> </item> <item> <term> <see cref="M:Gda.XmlDocument.Error" /> </term> </item> </list> </para> <para>Event data is passed via the <see cref="T:Gda.ErrorArgs" /> parameter.</para> <para>To attach a <see cref="T:Gda.ErrorHandler" /> to an event, add the ErrorHandler instance to the event. The methods referenced by the ErrorHandler instance are invoked whenever the event is raised, until the ErrorHandler is removed from the event.</para> </remarks> </Docs> <Base> <BaseTypeName>System.Delegate</BaseTypeName> </Base> <Interfaces> <Interface> <InterfaceName>System.ICloneable</InterfaceName> </Interface> <Interface> <InterfaceName>System.Runtime.Serialization.ISerializable</InterfaceName> </Interface> </Interfaces> <Attributes /> <Members /> <ReturnValue> <ReturnType>System.Void</ReturnType> </ReturnValue> <Parameters> <Parameter Name="o" Type="System.Object" /> <Parameter Name="args" Type="Gda.ErrorArgs" /> </Parameters> </Type>