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.
OnPageEntering is called on a ConnectedServiceWizardPagewhen 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
A WizardEnteringArgs that provides the context for the page entering event.
Returns
Returns a Task<TResult> of type Microsoft.VisualStudio.ConnectedServices.NavigationEnabledState that indicates which navigation buttons should be enabled and disabled.