# OperationCompleteEvent

### OperationCompleteEvent Class

Many asynchronous APIs will trigger an OperationCompleteEvent when done.

### Syntax

public class **OperationCompleteEvent** : [EventData](https://help.sansar.com/hc/en-us/articles/115003548788)

### Member Details

#### OperationCompleteEvent Constructor

> Default constructor
>
> #### Syntax
>
> public **OperationCompleteEvent** ()
>
> #### Remarks
>
> #### Requirements
>
> **Namespace:** Sansar.Script\
> **Assembly:** Sansar.Script (in Sansar.Script.dll)\
> **Assembly Versions:** 1.0.0.0
>
> ***

#### Exception Property

> If an operation threw an exception Success will be false and the exception will be stored here.
>
> #### Syntax
>
> **Value**
>
> > Documentation for this section has not yet been entered.
>
> #### Remarks
>
> #### Requirements
>
> **Namespace:** Sansar.Script\
> **Assembly:** Sansar.Script (in Sansar.Script.dll)\
> **Assembly Versions:** 1.0.0.0
>
> ***

#### Message Property

> If Success is false, Message may contain more information about the failure.
>
> #### Syntax
>
> public [string](http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String) **Message** { get; }
>
> **Value**
>
> > Information about the failure.
>
> #### Remarks
>
> #### Requirements
>
> **Namespace:** Sansar.Script\
> **Assembly:** Sansar.Script (in Sansar.Script.dll)\
> **Assembly Versions:** 1.0.0.0
>
> ***

#### Success Property

> Whether or not the operation completed successfully.
>
> #### Syntax
>
> public [bool](http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean) **Success** { get; }
>
> **Value**
>
> > true if the operation succeeded.
>
> #### Remarks
>
> #### Requirements
>
> **Namespace:** Sansar.Script\
> **Assembly:** Sansar.Script (in Sansar.Script.dll)\
> **Assembly Versions:** 1.0.0.0
>
> ***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sansar.com/latest/script-api-docs/sansar-script-namespace/operationcompleteevent.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
