Hello,
As I am a vb person, so I have written the following code
Protected Overrides Sub Finalize()
MyMap.Dispatcher.BeginInvoke(New Action(Function()
' save json string to file.
Dim sExtent As String = MyMap.Extent.ToString
End Function))
MyBase.Finalize()
End Sub
However, I cannot break and look at the code to see the value of my sExtent.