Sansar Docs
Ask or search…
K

OperationCompleteEvent

OperationCompleteEvent Class

Many asynchronous APIs will trigger an OperationCompleteEvent when done.

Syntax

public class OperationCompleteEvent : EventData

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