# ScriptBase.OperationComplete

Kind: Delegate · Namespace: Sansar.Script · Assembly: Sansar.Script.dll · Script API 47.10.0

<div class="api-meta">
<span class="api-kind api-kind-delegate" data-pagefind-filter="kind:Delegate">Delegate</span>
<span data-pagefind-filter="namespace:Sansar.Script">Namespace <a href="/scripting/api/sansar.script"><code>Sansar.Script</code></a></span>
</div>

<span id="T:Sansar.Script.ScriptBase.OperationComplete"></span>

Used to obtain notification that the operation has completed.

```csharp
[System.Obsolete("Deprecated. Use the Actions", false)]
public delegate void ScriptBase.OperationComplete(
    bool success,
    string failureMessage
)
```

| Parameter | Type | Description |
|---|---|---|
| `success` | [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | true if the operation completed successfully. |
| `failureMessage` | [string](https://learn.microsoft.com/dotnet/api/system.string) | A message describing the failure if success if false. |

## Remarks

The failure message is intended to be used for debugging and may change without notice.



<p class="api-generated" data-pagefind-ignore>Generated from the Sansar 47.10.0 client ScriptApi snapshot.</p>