StackWalker.IStackFrame.DeclaringClass Property
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.
Gets the class that declares the method represented by this stack frame.
public Java.Lang.Class DeclaringClass { [Android.Runtime.Register("getDeclaringClass", "()Ljava/lang/Class;", "GetGetDeclaringClassHandler:Java.Lang.StackWalker/IStackFrameInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getDeclaringClass", "()Ljava/lang/Class;", "GetGetDeclaringClassHandler:Java.Lang.StackWalker/IStackFrameInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
member this.DeclaringClass : Java.Lang.Class
Property Value
The class that declares the method represented by this stack frame.
- Attributes
Exceptions
if the associated StackWalker was not created with the RetainClassReference option.
Remarks
The associated StackWalker must be configured with the RetainClassReference option.