.NET Framework Class Library for Silverlight
StackFrame Constructor (Int32, Boolean)

This member has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses this member throws a MethodAccessException.
[SECURITY CRITICAL]

Initializes a new instance of the StackFrame class that corresponds to a frame above the current stack frame, and optionally captures source information.

Namespace:  System.Diagnostics
Assembly:  mscorlib (in mscorlib.dll)
Syntax

Visual Basic (Declaration)
<SecurityCriticalAttribute> _
Public Sub New ( _
    skipFrames As Integer, _
    fNeedFileInfo As Boolean _
)
Visual Basic (Usage)
Dim skipFrames As Integer
Dim fNeedFileInfo As Boolean

Dim instance As New StackFrame(skipFrames, _
    fNeedFileInfo)
C#
[SecurityCriticalAttribute]
public StackFrame(
    int skipFrames,
    bool fNeedFileInfo
)

Parameters

skipFrames
Type: System..::.Int32
The number of frames up the stack to skip.
fNeedFileInfo
Type: System..::.Boolean
true to capture the file name, line number, and column number of the stack frame; otherwise, false.
Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference

Tags :


Page view tracker