WorkspaceServiceHelper.GetUINodeOperationEventServiceAsync(IWorkspace) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取 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