แก้ไข

แชร์ผ่าน


StackFrameExtensions.HasMethod(StackFrame) Method

Definition

Indicates whether information about the method in which the specified frame is executing is available.

public:
[System::Runtime::CompilerServices::Extension]
 static bool HasMethod(System::Diagnostics::StackFrame ^ stackFrame);
public static bool HasMethod (this System.Diagnostics.StackFrame stackFrame);
static member HasMethod : System.Diagnostics.StackFrame -> bool
<Extension()>
Public Function HasMethod (stackFrame As StackFrame) As Boolean

Parameters

stackFrame
StackFrame

A stack frame.

Returns

true if information about the method in which the current frame is executing is available; otherwise, false.

Applies to

See also