Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

PageFunction.KeepAlive property

Closed Thread
 
Thread Tools Display Modes
Old 09-13-2006   #1 (permalink)
=?Utf-8?B?U2V0aW9ubw==?=
Guest


 

PageFunction.KeepAlive property

Hi,
I have a class that extends a PageFunction:
public class MyPageFunction : PageFunction<object>
{
public MyPageFunction()
{
this.KeepAlive = true;
}
}
Think of this PageFunction as a central Navigation Hub when launching a
Wizard. So, depending on user input in the Wizard, MyPageFunction controls
where to go next. I need to set KeepAlive=true, because there are many state
I need to keep track of during the navigation.

Everytime I launch the Wizard, I will create a new instance of MyPageFunction.
My question is, at what point does each of this instance get destroyed, if
ever? If not, I'm looking at a huge memory leak issue!

thanks,
Setiono

Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I use the property of a property? John Vottero PowerShell 2 07-28-2008 11:18 AM
Use my custom TypeDescriptor to obtains default Value on property inXAML Property Editor of Visual Studio 2008 azerty Avalon 0 04-14-2008 06:14 AM
Value under the CPU property? Cyberstorme PowerShell 2 01-10-2008 12:10 PM
Splitting a property Kari PowerShell 3 12-07-2007 07:55 AM
How to set file property # to a value > 99 KE7LYS Vista file management 2 05-07-2007 03:58 PM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50