共用方式為


Workspace.CheckProjectDoesNotHaveTransitiveProjectReference 方法

定義

如果專案有另一個專案的可轉移參考,則會擲回例外狀況。

protected:
 void CheckProjectDoesNotHaveTransitiveProjectReference(Microsoft::CodeAnalysis::ProjectId ^ fromProjectId, Microsoft::CodeAnalysis::ProjectId ^ toProjectId);
protected void CheckProjectDoesNotHaveTransitiveProjectReference (Microsoft.CodeAnalysis.ProjectId fromProjectId, Microsoft.CodeAnalysis.ProjectId toProjectId);
member this.CheckProjectDoesNotHaveTransitiveProjectReference : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.ProjectId -> unit
Protected Sub CheckProjectDoesNotHaveTransitiveProjectReference (fromProjectId As ProjectId, toProjectId As ProjectId)

參數

fromProjectId
ProjectId
toProjectId
ProjectId

適用於