> For the complete documentation index, see [llms.txt](https://docs.sansar.com/latest/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sansar.com/latest/script-api-docs/sansar-script-namespace/canceldata.md).

# CancelData

### CancelData Class

The event is sent when a subscription is canceled.

### Syntax

### Member Details

#### Message Property

> String description of the error condition.
>
> ### Syntax
>
> public [string](http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String) **Message** { get; }
>
> **Value**
>
> > The error message string.
>
> ### Remarks
>
> ### Requirements
>
> **Namespace:** Sansar.Script\
> **Assembly:** Sansar.Script (in Sansar.Script.dll)\
> **Assembly Versions:** 1.0.0.0
>
> ***

#### Reason Property

> Integer error code. The value varies depending on the method called.
>
> ### Syntax
>
> public [int](http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32) **Reason** { get; }
>
> **Value**
>
> > Error message int reason.
>
> ### Remarks
>
> ### Requirements
>
> **Namespace:** Sansar.Script\
> **Assembly:** Sansar.Script (in Sansar.Script.dll)\
> **Assembly Versions:** 1.0.0.0
>
> ***

***
