Share via


ConnectedServiceWizardPage.OnPageLeavingAsync(WizardLeavingArgs) Method

Definition

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.

Applies to