<Type Name="GException" FullName="GLib.GException"> <TypeSignature Language="C#" Value="public class GException : System.Exception, ISerializable" Maintainer="auto" /> <AssemblyInfo> <AssemblyName>glib-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>Exception emitted by GError receipt from native methods.</summary> <remarks>When a native method takes a GError parameter to report failures in method invocation, if the GError parameter is set after method invocation this Exception is thrown to report the error.</remarks> </Docs> <Base> <BaseTypeName>System.Exception</BaseTypeName> </Base> <Interfaces> <Interface> <InterfaceName>System.Runtime.Serialization.ISerializable</InterfaceName> </Interface> </Interfaces> <Attributes /> <Members> <Member MemberName="Finalize"> <MemberSignature Language="C#" Value="protected override void Finalize ();" /> <MemberType>Method</MemberType> <ReturnValue> <ReturnType>System.Void</ReturnType> </ReturnValue> <Parameters /> <Docs> <summary>Disposes the resources associated with the object.</summary> <remarks /> </Docs> </Member> <Member MemberName=".ctor"> <MemberSignature Language="C#" Value="public GException (IntPtr errptr);" /> <MemberType>Constructor</MemberType> <ReturnValue /> <Parameters> <Parameter Name="errptr" Type="System.IntPtr" /> </Parameters> <Docs> <summary>Internal constructor.</summary> <param name="errptr">a handle to the native GError pointer.</param> <returns>an object of type <see cref="T:GLib.GException" /></returns> <remarks>This constructor is public so that generated code in assemblies outside of glib-sharp.dll can access it, but it should not be necessary to use it from application code.</remarks> </Docs> </Member> <Member MemberName="Message"> <MemberSignature Language="C#" Value="public override string Message { get; };" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>System.String</ReturnType> </ReturnValue> <Parameters /> <Docs> <summary>The error text contained in the native GError.</summary> <returns>a <see cref="T:System.String" /> representing the error message contained in the native GError.</returns> <remarks /> </Docs> </Member> </Members> </Type>