แก้ไข

แชร์ผ่าน


DiagnosticMethodInfo Class

Definition

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.

public ref class DiagnosticMethodInfo sealed
public sealed class DiagnosticMethodInfo
type DiagnosticMethodInfo = class
Public NotInheritable 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