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 的實例