WorkspaceServiceHelper.GetUINodeOperationEventServiceAsync(IWorkspace) 方法

定义

获取 IUINodeOperationEventService 工作区实例的

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task<Microsoft::VisualStudio::Workspace::IUINodeOperationEventService ^> ^ GetUINodeOperationEventServiceAsync(Microsoft::VisualStudio::Workspace::IWorkspace ^ workspace);
public static System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.IUINodeOperationEventService> GetUINodeOperationEventServiceAsync (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
public static System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.IUINodeOperationEventService?> GetUINodeOperationEventServiceAsync (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
static member GetUINodeOperationEventServiceAsync : Microsoft.VisualStudio.Workspace.IWorkspace -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.IUINodeOperationEventService>
<Extension()>
Public Function GetUINodeOperationEventServiceAsync (workspace As IWorkspace) As Task(Of IUINodeOperationEventService)

参数

workspace
IWorkspace

工作区实例

返回

如果未找到 或 IUINodeOperationEventService 的实例,则为 null

适用于