C# Класс ClassLibrary.Common.ContinuationManager

ContinuationManager is used to detect if the most recent activation was due to a continuation such as the FileOpenPicker or WebAuthenticationBroker
Показать файл Открыть проект

Открытые методы

Метод Описание
Continue ( IContinuationActivatedEventArgs args ) : void

Sets the ContinuationArgs for this instance. Using default Frame of current Window Should be called by the main activation handling code in App.xaml.cs

GetContinuationArgs ( bool includeStaleArgs ) : IContinuationActivatedEventArgs

Retrieves the continuation args, optionally retrieving them even if they have already been retrieved

Приватные методы

Метод Описание
Continue ( IContinuationActivatedEventArgs args, Frame rootFrame ) : void

Sets the ContinuationArgs for this instance. Should be called by the main activation handling code in App.xaml.cs

MarkAsStale ( ) : void

Marks the contination data as 'stale', meaning that it is probably no longer of any use. Called when the app is suspended (to ensure future activations don't appear to be for the same continuation) and whenever the continuation data is retrieved (so that it isn't retrieved on subsequent navigations)

Описание методов

Continue() публичный Метод

Sets the ContinuationArgs for this instance. Using default Frame of current Window Should be called by the main activation handling code in App.xaml.cs
public Continue ( IContinuationActivatedEventArgs args ) : void
args IContinuationActivatedEventArgs The activation args
Результат void

GetContinuationArgs() публичный Метод

Retrieves the continuation args, optionally retrieving them even if they have already been retrieved
public GetContinuationArgs ( bool includeStaleArgs ) : IContinuationActivatedEventArgs
includeStaleArgs bool Set to true to return args even if they have previously been returned
Результат IContinuationActivatedEventArgs