Edit

Share via


DiagnosticMethodInfo Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Represents diagnostic information about a method. Information provided by this class is similar to information

provided by MethodBase but it's meant for logging and tracing purposes.

C#
public sealed class DiagnosticMethodInfo
Inheritance
DiagnosticMethodInfo

Properties

DeclaringAssemblyName

Gets the display name of the assembly that owns this method.

DeclaringTypeName

Gets the fully qualified name of the type that owns this method, including its namespace but not its assembly.

Name

Gets the name of the method.

Methods

Create(Delegate)

Creates a DiagnosticMethodInfo that represents the target of the delegate.

Create(StackFrame)

Creates a DiagnosticMethodInfo that represents the method this stack frame is associtated with.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

Product Versions
.NET 9, 10