WindowsRuntimeDesignerContext.SetIterationContext Method

Definition

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