IAsyncWorkspaceProviderFactory<T>.CreateProviderAsync 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.
Create an instance of provider using async pattern
public:
System::Threading::Tasks::Task<T> ^ CreateProviderAsync(Microsoft::VisualStudio::Workspace::IWorkspace ^ workspaceContext);
public System.Threading.Tasks.Task<T> CreateProviderAsync (Microsoft.VisualStudio.Workspace.IWorkspace workspaceContext);
abstract member CreateProviderAsync : Microsoft.VisualStudio.Workspace.IWorkspace -> System.Threading.Tasks.Task<'T>
Public Function CreateProviderAsync (workspaceContext As IWorkspace) As Task(Of T)
Parameters
- workspaceContext
- IWorkspace
The workspace context
Returns
Task<T>
Created instance of a provider type