ConnectedServiceWizardPage::OnPageLeavingAsync Method (WizardLeavingArgs^)

Visual Studio 2015
 

OnPageEntering is called on a ConnectedServiceWizardPagewhen the wizard is navigating away from the page.

Namespace:   Microsoft.VisualStudio.ConnectedServices
Assembly:  Microsoft.VisualStudio.ConnectedServices (in Microsoft.VisualStudio.ConnectedServices.dll)

public:
virtual Task<WizardNavigationResult^>^ OnPageLeavingAsync(
	WizardLeavingArgs^ args
)

Parameters

args
Type: Microsoft.VisualStudio.ConnectedServices::WizardLeavingArgs^

A WizardEnteringArgs that provides the context for the page entering event.

Return Value

Type: System.Threading.Tasks::Task<WizardNavigationResult^>^

Returns a Task<TResult> of type T:Microsoft.VisualStudio.ConnectedServices.NavigationEnabledState that indicates which navigation buttons should be enabled and disabled.

Return to top
Show: