﻿<?xml version="1.0" encoding="utf-8"?><Type Name="StackTrace" FullName="System.Diagnostics.StackTrace"><TypeSignature Maintainer="auto" Language="C#" Value="public class StackTrace" /><TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit StackTrace extends System.Object" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.Object</BaseTypeName></Base><Interfaces /><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para><see cref="T:System.Diagnostics.StackTrace" /> information will be most informative with Debug build configurations. By default, Debug builds include debug symbols, while Release builds do not. The debug symbols contain most of the file, method name, line number, and column information used in constructing <see cref="T:System.Diagnostics.StackFrame" /> and <see cref="T:System.Diagnostics.StackTrace" /> objects.</para><para><see cref="T:System.Diagnostics.StackTrace" /> might not report as many method calls as expected, due to code transformations that occur during optimization.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents a stack trace, which is an ordered collection of one or more stack frames.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public StackTrace ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Diagnostics.StackTrace" /> is created with the caller's current thread, and does not contain file name, line number, or column information.</para><para>Use this default constructor when you want a complete trace with only summary method information about the call stack.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Diagnostics.StackTrace" /> class from the caller's frame.</para></summary></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public StackTrace (bool fNeedFileInfo);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(bool fNeedFileInfo) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters><Parameter Name="fNeedFileInfo" Type="System.Boolean" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Diagnostics.StackTrace" /> is created with the caller's current thread.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Diagnostics.StackTrace" /> class from the caller's frame, optionally capturing source information.</para></summary><param name="fNeedFileInfo"><attribution license="cc4" from="Microsoft" modified="false" />true to capture the file name, line number, and column number; otherwise, false. </param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public StackTrace (System.Diagnostics.StackFrame frame);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Diagnostics.StackFrame frame) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters><Parameter Name="frame" Type="System.Diagnostics.StackFrame" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use this constructor when you do not want the overhead of a full stack trace.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Diagnostics.StackTrace" /> class that contains a single frame.</para></summary><param name="frame"><attribution license="cc4" from="Microsoft" modified="false" />The frame that the <see cref="T:System.Diagnostics.StackTrace" /> object should contain. </param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public StackTrace (Exception e);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Exception e) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters><Parameter Name="e" Type="System.Exception" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Diagnostics.StackTrace" /> is created with the caller's current thread, and does not contain file name, line number, or column information.</para><para>The resulting stack trace describes the stack at the time of the exception.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Diagnostics.StackTrace" /> class using the provided exception object.</para></summary><param name="e"><attribution license="cc4" from="Microsoft" modified="false" />The exception object from which to construct the stack trace. </param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public StackTrace (int skipFrames);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int32 skipFrames) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters><Parameter Name="skipFrames" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Diagnostics.StackTrace" /> is created with the caller's current thread, and does not contain file name, line number, or column information.</para><para>If the number of frames to skip is greater than or equal to the total number of frames on the call stack at the time the instance is created, the <see cref="T:System.Diagnostics.StackTrace" /> will contain no frames.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Diagnostics.StackTrace" /> class from the caller's frame, skipping the specified number of frames.</para></summary><param name="skipFrames"><attribution license="cc4" from="Microsoft" modified="false" />The number of frames up the stack from which to start the trace. </param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public StackTrace (Exception e, bool fNeedFileInfo);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Exception e, bool fNeedFileInfo) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters><Parameter Name="e" Type="System.Exception" /><Parameter Name="fNeedFileInfo" Type="System.Boolean" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The resulting stack trace describes the stack at the time of the exception.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Diagnostics.StackTrace" /> class, using the provided exception object and optionally capturing source information.</para></summary><param name="e"><attribution license="cc4" from="Microsoft" modified="false" />The exception object from which to construct the stack trace. </param><param name="fNeedFileInfo"><attribution license="cc4" from="Microsoft" modified="false" />true to capture the file name, line number, and column number; otherwise, false. </param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public StackTrace (Exception e, int skipFrames);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Exception e, int32 skipFrames) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters><Parameter Name="e" Type="System.Exception" /><Parameter Name="skipFrames" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Diagnostics.StackTrace" />  does not contain file name, line number, or column information.</para><para>The resulting stack trace describes the stack at the time of the exception.</para><para>If the number of frames to skip is greater than or equal to the total number of frames on the call stack at the time the instance is created, the <see cref="T:System.Diagnostics.StackTrace" /> will contain no frames.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Diagnostics.StackTrace" /> class using the provided exception object and skipping the specified number of frames.</para></summary><param name="e"><attribution license="cc4" from="Microsoft" modified="false" />The exception object from which to construct the stack trace. </param><param name="skipFrames"><attribution license="cc4" from="Microsoft" modified="false" />The number of frames up the stack from which to start the trace. </param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public StackTrace (int skipFrames, bool fNeedFileInfo);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int32 skipFrames, bool fNeedFileInfo) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters><Parameter Name="skipFrames" Type="System.Int32" /><Parameter Name="fNeedFileInfo" Type="System.Boolean" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>If the number of frames to skip is greater than or equal to the total number of frames on the call stack at the time the instance is created, the <see cref="T:System.Diagnostics.StackTrace" /> will contain no frames.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Diagnostics.StackTrace" /> class from the caller's frame, skipping the specified number of frames and optionally capturing source information.</para></summary><param name="skipFrames"><attribution license="cc4" from="Microsoft" modified="false" />The number of frames up the stack from which to start the trace. </param><param name="fNeedFileInfo"><attribution license="cc4" from="Microsoft" modified="false" />true to capture the file name, line number, and column number; otherwise, false. </param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public StackTrace (System.Threading.Thread targetThread, bool needFileInfo);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Threading.Thread targetThread, bool needFileInfo) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.Obsolete</AttributeName></Attribute></Attributes><ReturnValue /><Parameters><Parameter Name="targetThread" Type="System.Threading.Thread" /><Parameter Name="needFileInfo" Type="System.Boolean" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><block subset="none" type="note"><para>Do not use this constructor. It is obsolete, and there is no recommended alternative. When you suspend a thread, you have no way of knowing what code it is executing, and deadlocks can occur very easily. For example, if you suspend a thread while it holds locks during a security permission evaluation, other threads in the <see cref="T:System.AppDomain" /> might be blocked. If you suspend a thread while it is executing a class constructor, other threads in the <see cref="T:System.AppDomain" /> that attempt to use that class are blocked.</para></block></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Diagnostics.StackTrace" /> class for a specific thread, optionally capturing source information. </para><para>Do not use this constructor overload.</para></summary><param name="targetThread"><attribution license="cc4" from="Microsoft" modified="false" />The thread whose stack trace is requested. </param><param name="needFileInfo"><attribution license="cc4" from="Microsoft" modified="false" />true to capture the file name, line number, and column number; otherwise, false. </param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public StackTrace (Exception e, int skipFrames, bool fNeedFileInfo);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Exception e, int32 skipFrames, bool fNeedFileInfo) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters><Parameter Name="e" Type="System.Exception" /><Parameter Name="skipFrames" Type="System.Int32" /><Parameter Name="fNeedFileInfo" Type="System.Boolean" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The resulting stack trace describes the stack at the time of the exception.</para><para>If the number of frames to skip is greater than or equal to the total number of frames on the call stack at the time the instance is created, the <see cref="T:System.Diagnostics.StackTrace" /> will contain no frames.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Diagnostics.StackTrace" /> class using the provided exception object, skipping the specified number of frames and optionally capturing source information.</para></summary><param name="e"><attribution license="cc4" from="Microsoft" modified="false" />The exception object from which to construct the stack trace. </param><param name="skipFrames"><attribution license="cc4" from="Microsoft" modified="false" />The number of frames up the stack from which to start the trace. </param><param name="fNeedFileInfo"><attribution license="cc4" from="Microsoft" modified="false" />true to capture the file name, line number, and column number; otherwise, false. </param></Docs></Member><Member MemberName="FrameCount"><MemberSignature Language="C#" Value="public virtual int FrameCount { get; }" /><MemberSignature Language="ILAsm" Value=".property instance int32 FrameCount" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Docs><value>To be added: an object of type 'int'</value><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the number of frames in the stack trace.</para></summary></Docs></Member><Member MemberName="GetFrame"><MemberSignature Language="C#" Value="public virtual System.Diagnostics.StackFrame GetFrame (int index);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Diagnostics.StackFrame GetFrame(int32 index) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Diagnostics.StackFrame</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Stack frames are numbered starting at 0, which is the last stack frame pushed.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the specified stack frame.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The specified stack frame.</para></returns><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The index of the stack frame requested. </param></Docs></Member><Member MemberName="GetFrames"><MemberSignature Language="C#" Value="public virtual System.Diagnostics.StackFrame[] GetFrames ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Diagnostics.StackFrame[] GetFrames() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Diagnostics.StackFrame[]</ReturnType></ReturnValue><Parameters /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use the returned <see cref="T:System.Diagnostics.StackFrame" /> array to enumerate and examine function calls in the <see cref="T:System.Diagnostics.StackTrace" />. The length of the returned array is equal to the <see cref="P:System.Diagnostics.StackTrace.FrameCount" /> property value. </para><para>The <see cref="T:System.Diagnostics.StackFrame" /> array elements are in reverse chronological order. The <see cref="T:System.Diagnostics.StackFrame" /> at array index 0 represents the most recent function call in the stack trace and the last frame pushed onto the call stack. The <see cref="T:System.Diagnostics.StackFrame" /> at array index <see cref="P:System.Diagnostics.StackTrace.FrameCount" /> minus 1 represents the oldest function call in the stack trace and the first frame pushed onto the call stack.</para><para>Use the <see cref="M:System.Diagnostics.StackTrace.GetFrames" /> method to obtain all stack frames in a stack trace; use the <see cref="M:System.Diagnostics.StackTrace.GetFrame(System.Int32)" /> method to obtain a specific stack frame in a stack trace. The <see cref="T:System.Diagnostics.StackFrame" /> indexes are ordered alike by the two methods. For example, the <see cref="T:System.Diagnostics.StackFrame" /> at index 0 in the array returned by <see cref="M:System.Diagnostics.StackTrace.GetFrames" /> is equivalent to the <see cref="T:System.Diagnostics.StackFrame" /> returned by <see cref="M:System.Diagnostics.StackTrace.GetFrame(System.Int32)" /> with an input index of 0.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a copy of all stack frames in the current stack trace.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An array of type <see cref="T:System.Diagnostics.StackFrame" /> representing the function calls in the stack trace.</para></returns></Docs></Member><Member MemberName="METHODS_TO_SKIP"><MemberSignature Language="C#" Value="public const int METHODS_TO_SKIP = 0;" /><MemberSignature Language="ILAsm" Value=".field public static literal int32 METHODS_TO_SKIP = (0)" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters /><MemberValue>0</MemberValue><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The default value for the number of methods to skip at the beginning of the stack trace. The value of this constant is 0.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Defines the default for the number of methods to omit from the stack trace. This field is constant.</para></summary></Docs></Member><Member MemberName="ToString"><MemberSignature Language="C#" Value="public override string ToString ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Builds a readable representation of the stack trace.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A readable representation of the stack trace.</para></returns></Docs></Member></Members></Type>