ConnectedServiceWizardPage.OnPageLeavingAsync(WizardLeavingArgs) Method
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.
OnPageLeavingAsync is called on a ConnectedServiceWizardPage when the wizard is navigating away from the page.
public:
virtual System::Threading::Tasks::Task<Microsoft::VisualStudio::ConnectedServices::PageNavigationResult ^> ^ OnPageLeavingAsync(Microsoft::VisualStudio::ConnectedServices::WizardLeavingArgs ^ args);
public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.ConnectedServices.PageNavigationResult> OnPageLeavingAsync (Microsoft.VisualStudio.ConnectedServices.WizardLeavingArgs args);
abstract member OnPageLeavingAsync : Microsoft.VisualStudio.ConnectedServices.WizardLeavingArgs -> System.Threading.Tasks.Task<Microsoft.VisualStudio.ConnectedServices.PageNavigationResult>
override this.OnPageLeavingAsync : Microsoft.VisualStudio.ConnectedServices.WizardLeavingArgs -> System.Threading.Tasks.Task<Microsoft.VisualStudio.ConnectedServices.PageNavigationResult>
Public Overridable Function OnPageLeavingAsync (args As WizardLeavingArgs) As Task(Of PageNavigationResult)
Parameters
- args
- WizardLeavingArgs
Provides context on the page leaving event.
Returns
A PageNavigationResult that describes the success/failure state of the navigation.