WindowsRuntimeDesignerContext.InitializeSharedContext Method
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.
Creates a context and sets it as the shared context.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static void InitializeSharedContext(System::Collections::Generic::IEnumerable<System::String ^> ^ paths);
[System.Security.SecurityCritical]
public static void InitializeSharedContext(System.Collections.Generic.IEnumerable<string> paths);
[<System.Security.SecurityCritical>]
static member InitializeSharedContext : seq<string> -> unit
Public Shared Sub InitializeSharedContext (paths As IEnumerable(Of String))
- paths
- IEnumerable<String>
An enumerable collection of paths that are used to resolve binding requests that cannot be satisfied by the iteration context.
- Attributes
The shared context has already been set in this application domain.
-or-
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.
paths
is null
.
The shared context cannot be set more than once.
WindowsRuntimeDesignerContext is supported only in the default application domain.
Продукт | Версії |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: