Class AsyncCallCompletedEventData

Inheritance Relationships

Base Type

Class Documentation

class AsyncCallCompletedEventData : public csp::common::NetworkEventData

Public Members

csp::common::String OperationName

The name of the async operation that has been completed.

csp::common::String ReferenceId

An Id related to the async operation that has been completed.

This could for example be a group Id, if this were an async duplicate group operation.

csp::common::String ReferenceType

The type that the Id represents.

In the previous example this would be “GroupId”.

csp::common::Map<csp::common::String, csp::common::String> References

A string map containing reference information related to this operation.

Each key:value pair in this map represents a reference name and its corresponding Id. The contents of this map will differ based on the specific Async Call, but it is intended to provide additional context and information about the completed operation. For example, in the case of the DuplicatedSpaceAsync operation, this map would contain the following:

  • ”OrignalSpaceId”: Id of the original Space being duplicated.

  • ”SpaceId”: Id of the newly duplicated Space.

bool Success

Whether the operation completed successfully or not.

csp::common::String StatusReason

This will be an empty string if the operation was successful, but if the operation failed it will contain the failure status.