Sdílet prostřednictvím


IAsyncWorkspaceServiceFactory.CreateServiceAsync(IWorkspace) Method

Definition

Create an instance of a service in the context of a IWorkspace

public:
 System::Threading::Tasks::Task<System::Object ^> ^ CreateServiceAsync(Microsoft::VisualStudio::Workspace::IWorkspace ^ workspaceContext);
public System.Threading.Tasks.Task<object> CreateServiceAsync (Microsoft.VisualStudio.Workspace.IWorkspace workspaceContext);
abstract member CreateServiceAsync : Microsoft.VisualStudio.Workspace.IWorkspace -> System.Threading.Tasks.Task<obj>
Public Function CreateServiceAsync (workspaceContext As IWorkspace) As Task(Of Object)

Parameters

workspaceContext
IWorkspace

The workspace context instance

Returns

The Service instance

Applies to