WindowsRuntimeDesignerContext(IEnumerable<String>, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for