WindowsRuntimeDesignerContext(IEnumerable<String>, String) Constructor

Definition

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.

This API supports the product infrastructure and is not intended to be used directly from your code.

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)

Parameters

paths
IEnumerable<String>

The paths to search.

name
String

The name of the context.

Attributes

Exceptions

The current application domain is not the default application domain.

-or-

The process is not running in the app container.

-or-

The computer does not have a developer license.

name or paths is null.

Applies to