Skip to main content

MGCLatticeAsyncOperationResponseContract

Response of submitAsyncOperation: the tracking identifier to poll with getAsyncOperationStatus, or the reason the submission was refused. Repeating a submission with the same RequestId returns the tracking identifier of the first submission instead of queueing the operation again.

Methods​

new​

Initializes a new instance of the MGCLatticeAsyncOperationResponseContract class.

  • Visibility: public
  • Returns: void

No parameters.

construct​

Creates a new instance of the MGCLatticeAsyncOperationResponseContract class.

  • Visibility: public
  • Returns: MGCLatticeAsyncOperationResponseContract A new MGCLatticeAsyncOperationResponseContract instance.

No parameters.

parmSuccess​

True when the operation is queued (or was already queued by an earlier submission with the same RequestId).

  • Visibility: public
  • Returns: boolean The current value.
NameTypeOptionalDescription
_successbooleanYesThe value to set.

parmTrackingId​

The tracking identifier to poll with getAsyncOperationStatus.

  • Visibility: public
  • Returns: Guid The current value.
NameTypeOptionalDescription
_trackingIdGuidYesThe value to set.

parmStatus​

Queued for a new submission; the current state for a repeated RequestId; Failed when the submission was refused.

  • Visibility: public
  • Returns: MGCLatticeAsyncOperationStatus The current value.
NameTypeOptionalDescription
_statusMGCLatticeAsyncOperationStatusYesThe value to set.

parmErrorCode​

Why the submission was refused; None when it succeeded.

  • Visibility: public
  • Returns: MGCLatticeServiceErrorCode The current value.
NameTypeOptionalDescription
_errorCodeMGCLatticeServiceErrorCodeYesThe value to set.

parmIsRetryable​

Whether a refused submission can be retried unchanged (for example after a license renewal).

  • Visibility: public
  • Returns: boolean The current value.
NameTypeOptionalDescription
_isRetryablebooleanYesThe value to set.

parmMessage​

The human-readable result message.

  • Visibility: public
  • Returns: str The current value.
NameTypeOptionalDescription
_messagestrYesThe value to set.

parmCorrelationId​

The correlation identifier of the submission.

  • Visibility: public
  • Returns: Guid The current value.
NameTypeOptionalDescription
_correlationIdGuidYesThe value to set.