Jazyk

StackWalker.IStackFrame.DeclaringClass Property

Definition

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.

Applies to