> ## 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 CancelChangesAsync

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

## CancelChangesAsync()

Cancels any local changes made, setting `Phoenix.ComponentAPI.IHarnessLocalEditSession.Pacz` back to
original values. The running component is not modified.

```csharp theme={null}
Task CancelChangesAsync()

```

### Returns

[Task](https://learn.microsoft.com/dotnet/api/system.threading.tasks.task)

A Task indicating completion of the work
