共用方式為


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) 

事件類型

適用於