Partilhar via


Workspace(HostServices, String) Construtor

Definição

Constrói uma nova instância de workspace.

protected:
 Workspace(Microsoft::CodeAnalysis::Host::HostServices ^ host, System::String ^ workspaceKind);
protected Workspace (Microsoft.CodeAnalysis.Host.HostServices host, string workspaceKind);
protected Workspace (Microsoft.CodeAnalysis.Host.HostServices host, string? workspaceKind);
new Microsoft.CodeAnalysis.Workspace : Microsoft.CodeAnalysis.Host.HostServices * string -> Microsoft.CodeAnalysis.Workspace
Protected Sub New (host As HostServices, workspaceKind As String)

Parâmetros

host
HostServices

O HostServices workspace usado

workspaceKind
String

Uma cadeia de caracteres que pode ser usada para identificar o tipo de workspace. Normalmente, isso corresponde ao nome da classe.

Aplica-se a