> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Method OpenBuilderUIForComponentAsync

Namespace: [Phoenix.ComponentAPI](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI)\
Assembly: Phoenix.ComponentAPI.dll

## OpenBuilderUIForComponentAsync(IHarnessRunnerSession)

Creates the builder UI to edit the given instantiated IHarnessSession. No IPaczWriter
local session may be open on this runner when calling this method.

```csharp theme={null}
Task<IHarnessBuilderUISession> OpenBuilderUIForComponentAsync(IHarnessRunnerSession session)

```

### Parameters

`session` [IHarnessRunnerSession](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.IHarnessRunnerSession)

The session to instantiate a builder UI for. The session must have been
created by this client object. It is illegal to call this function more than once
without calling Dispose on the returned IHarnessBuilderUISession first.

### Returns

[Task](https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1)\<[IHarnessBuilderUISession](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.IHarnessBuilderUISession)>

A task that returns a new IHarnessBuilderUISession.

### Exceptions

[InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception)

If a builder or local edit session
is already open for the given runner session
