WindowsRuntimeDesignerContext(IEnumerable<String>, String) Construtor

Definição

Inicializa uma nova instância da WindowsRuntimeDesignerContext classe, especificando o conjunto de caminhos para Pesquisar tipos de Windows Runtime de terceiros e para assemblies gerenciados e especificando o nome do contexto.Initializes a new instance of the WindowsRuntimeDesignerContext class, specifying the set of paths to search for third-party Windows Runtime types and for managed assemblies, and specifying the name of the context.

Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.

public:
 WindowsRuntimeDesignerContext(System::Collections::Generic::IEnumerable<System::String ^> ^ paths, System::String ^ name);
[System.Security.SecurityCritical]
public WindowsRuntimeDesignerContext (System.Collections.Generic.IEnumerable<string> paths, string name);
[<System.Security.SecurityCritical>]
new System.Runtime.DesignerServices.WindowsRuntimeDesignerContext : seq<string> * string -> System.Runtime.DesignerServices.WindowsRuntimeDesignerContext
Public Sub New (paths As IEnumerable(Of String), name As String)

Parâmetros

paths
IEnumerable<String>

Os caminhos de pesquisa.The paths to search.

name
String

O nome do contexto.The name of the context.

Atributos

Exceções

O domínio de aplicativo atual não é o domínio de aplicativo padrão.The current application domain is not the default application domain.

- ou --or-

O processo não está em execução no contêiner do aplicativo.The process is not running in the app container.

- ou --or-

O computador não tem uma licença de desenvolvedor.The computer does not have a developer license.

name ou paths é null.name or paths is null.

Aplica-se a