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