WindowsRuntimeDesignerContext.SetIterationContext Method
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.
Sets a context to handle iterations of assembly binding requests, as assemblies are recompiled during the design process.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static void SetIterationContext(System::Runtime::DesignerServices::WindowsRuntimeDesignerContext ^ context);
[System.Security.SecurityCritical]
public static void SetIterationContext (System.Runtime.DesignerServices.WindowsRuntimeDesignerContext context);
[<System.Security.SecurityCritical>]
static member SetIterationContext : System.Runtime.DesignerServices.WindowsRuntimeDesignerContext -> unit
Public Shared Sub SetIterationContext (context As WindowsRuntimeDesignerContext)
Parameters
- context
- WindowsRuntimeDesignerContext
The context that handles iterations of assembly binding requests.
- Attributes
Exceptions
The current application domain is not the default application domain.
context
is null
.
Remarks
The context can be replaced with a new binding context at any time, as required by the needs of the designer.
WindowsRuntimeDesignerContext is supported only in the default application domain.
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