Workspace.WorkspaceFailed 事件

定义

每当工作区或其解决方案模型的一部分无法访问文件或其他外部资源时引发的事件。

public:
 event EventHandler<Microsoft::CodeAnalysis::WorkspaceDiagnosticEventArgs ^> ^ WorkspaceFailed;
public event EventHandler<Microsoft.CodeAnalysis.WorkspaceDiagnosticEventArgs> WorkspaceFailed;
member this.WorkspaceFailed : EventHandler<Microsoft.CodeAnalysis.WorkspaceDiagnosticEventArgs> 
Public Custom Event WorkspaceFailed As EventHandler(Of WorkspaceDiagnosticEventArgs) 

事件类型

适用于