Show / Hide Table of Contents

Class StackTraceUtility

Provides stack trace utilities.

Inheritance
System.Object
StackTraceUtility
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Celerik.NetCore.Util
Assembly: cs.temp.dll.dll
Syntax
public static class StackTraceUtility

Methods

GetMethodName(StackTrace)

Gets the top method name of this stackTrace, in the format: Class.Method().

Declaration
public static string GetMethodName(this StackTrace stackTrace)
Parameters
Type Name Description
StackTrace stackTrace

Stack trace to retrieve the top method name.

Returns
Type Description
System.String

Top method name of this stackTrace.

Exceptions
Type Condition
System.ArgumentNullException

StackTrace is null.

In This Article
Back to top Generated by DocFX