Gets current stack trace information.

Namespace: MonoSoftware.MonoX.Extensions
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public static string GetCurrentStackTrace(
	this Object obj
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function GetCurrentStackTrace ( 
	obj As Object
) As String
Visual C++
public:
[ExtensionAttribute]
static String^ GetCurrentStackTrace(
	Object^ obj
)
F#
static member GetCurrentStackTrace : 
        obj : Object -> string 

Parameters

obj
Type: System..::..Object
Object instance

Return Value

Type: String
Stack trace information

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also