Bewerken

Share via


StackFrameExtensions.HasSource(StackFrame) Method

Definition

Indicates whether the file that contains the code that the specified stack frame is executing is available.

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

Parameters

stackFrame
StackFrame

A stack frame.

Returns

true if the code that the specified stack frame is executing is available; otherwise, false.

Applies to

See also